xserver-multidpi/hw
Jon TURNEY e78628406f Cygwin/X: Preserve client area size and position on Windows window style change
When the style changes, adjust the window size so the client area remains the same.

Otherwise the window size may change when sizing is reflected from Windows to X, and
some windows are drawn expecting them to be exactly the requested size (e.g. the
gmplayer control window)

Use DeferWindowPos to delay the resize to preserve client area on WM_STYLECHANGING
until after the style change has actually happened in WM_STYLECHANGED

As a consquence of this, we need to be more careful to create windows with exactly
the requested placement and client area initially, so the client area matches what
the X client requested

Also synchronize the X windows idea of the placement of a window which Windows is
allowed to place

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-06-29 19:14:35 +01:00
..
dmx Add xkeyboard-config to See Also of man pages referencing xkb 2011-06-21 17:54:43 -07:00
kdrive Xephyr: Mention Xserver's options are also accepted. 2011-06-03 18:09:51 +02:00
vfb man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xfree86 Merge remote-tracking branch 'dbn/no-libxorg' 2011-06-28 09:10:14 -07:00
xnest input: remove DDX event list handling 2011-05-11 14:27:36 +10:00
xquartz XQuartz: GLX: Fix a -Wformat-security compilation warning 2011-06-15 14:00:52 -07:00
xwin Cygwin/X: Preserve client area size and position on Windows window style change 2011-06-29 19:14:35 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00