On 5/13/06, Mark Vojkovich <[EMAIL PROTECTED]> wrote:
On Fri, 12 May 2006, f.l. wrote:

> Thanks!
> it works.
>
> and one more question please ,
>
> the server started up with 1024x768 resolution,
> after a switched to 800x600, the virtual resolution is still 1024x768,
> i have to move mouse to view the invisible part of my whole desktop,
> i want real 800x600 resolution,
> how can it be done?

   Alledgedly, you can do that with the X Resize and Rotate extension,
but I've never used it.  Also, some apps (like your window manager)
may not work properly when doing that.  X11 never allowed the
desktop size to change, so when using XRandR, only apps that are
XRandR aware can deal with the size change properly.  Other apps
will think the desktop is the original size.



i guess the only app need to be aware of the resolution change
immediatlly is the desktop,
because the desktop is always maximum, i.e. the same size as the resolution.

other apps can remain the window size after resolution changed,
for example, if the window size is 1000x700 at 1024x768 resolution,
the window size is still 1000x700 after resolution changed to 800x600,
that means portion of the window is invisible until the window is moved by user,

the app will receive signal after user choosed to maximum the app window,
with the changed resolution as part of the resize message sent to app,
then app can redraw is window use the new size,

however, i dont know how the xfree86 api works now, things may vary..

_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to