xserver-multidpi/hw
Jon TURNEY 33106e1e80 Cygwin/X: Generate RANDR change on WM_DISPLAYCHANGE for rootless modes
When RANDR resizing is enabled, generate an internal RANDR change when
WM_DISPLAYCHANGE occurs in rootless modes for screens which occupy an
entire monitor or the virtual desktop.

Store the monitor number and use that to handle WM_DISPLAYCHANGE for a
screen specified with '-screen @monitor'

In rooted mode, WM_DISPLAYCHANGE isn't relevant (except where display
depth changes may cause problems). (A maximized screen window will get
WM_SIZE to adjust it to the new monitor size)

In rooted fullscreen mode, WM_DISPLAYCHANGE shouldn't be seen, as we
have the resolution we have selected for the fullscreen session)
(Could client randr requests be handled in fullscreen to cause a change
of the fullscreen resolution? )

Don't bother do a RANDR resize if the dimensions aren't actually changing
when WM_DISPLAYCHANGE is sent (should handle WM_DISPLAYCHANGE to size 0x0
that the intel driver seems to like to send)

Various debug output improvements

Also, remove the note that XWin can't handle display mode changes from
the man page

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Tested-by: Colin Harrison <colin.harrison@virgin.net>
2011-01-19 14:02:26 +00:00
..
dmx man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
kdrive man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
vfb man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xfree86 xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00
xnest man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xquartz Xquartz: rename man page directory from doc to man 2011-01-18 15:11:18 -08:00
xwin Cygwin/X: Generate RANDR change on WM_DISPLAYCHANGE for rootless modes 2011-01-19 14:02:26 +00:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00