> Hello,
> 
> I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without 
> restart X.
> 
> How could i move from 1024x768 to 640x480 in my program code?
> Any examples.

See the source code for xvidtune.  If you run 'xvidtune -next', you'll get the
same behaviour as Ctrl-Alt-Plus and 'xvidtune -prev' switches to the previous mode
like Ctrl-Alt-Minus.

If you have several modes and the one you want doesn't happen to be the next or
previous one, you have two choices: (1) do a next/prev switch repeatedly or (2)
use XF86VidModeSwitchToMode().  See the XF86VidMode man page for details.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to