Go to file
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
composite composite: Recompute clipping when changing between manual and automatic redirection 2011-05-04 19:01:01 +03:00
config config: handle device change event properly 2011-03-24 09:51:09 +10:00
damageext damage: use DamageReportDamage for the initial borderClip damage report 2011-04-13 18:59:09 -07:00
dbe Clean up memory better when GetVisualInfo fails in ProcDbeGetVisualInfo 2011-05-02 20:38:16 -07:00
dix Don't use empty source files 2011-06-23 05:28:31 -07:00
doc Install xml versions of specs even if HAVE_XMLTO is false 2011-06-20 08:41:52 +10:00
exa EXA: fix typo 2011-06-20 08:20:30 +10:00
fb fbbltone.c: Mark bitmasks as unsigned ints 2011-05-25 09:35:39 -06:00
glx glx: Move GLX extension string utility functions 2011-06-29 19:09:23 +01:00
hw Cygwin/X: Preserve client area size and position on Windows window style change 2011-06-29 19:14:35 +01:00
include dix: rename ProcessRawEvents to dix/events.c:DeliverRawEvent 2011-06-08 13:57:05 +10:00
m4 Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flags 2011-05-27 19:51:05 -07:00
man Add xkeyboard-config to See Also of man pages referencing xkb 2011-06-21 17:54:43 -07:00
mi input: Don't implicitly define verify_internal_event 2011-05-24 14:08:13 +10:00
miext rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value 2011-04-25 18:57:01 -07:00
os Don't use empty source files 2011-06-23 05:28:31 -07:00
randr randr: void function cannot return value 2011-06-06 08:47:56 -07:00
record Only free pContext once when AddResource fails in ProcRecordCreateContext 2011-05-02 20:38:03 -07:00
render Merge remote-tracking branch 'jeremyhu/master' 2011-04-27 12:01:56 -07:00
test xfree86: Remove libxorg convenience library to speed up build 2011-06-23 05:28:31 -07:00
Xext input: replace EventListPtr with InternalEvent array 2011-05-11 14:27:36 +10:00
xfixes fixes: Add support for pointer barriers 2011-05-31 15:10:51 -04:00
Xi dix: rename ProcessRawEvents to dix/events.c:DeliverRawEvent 2011-06-08 13:57:05 +10:00
xkb xkb: Fix case checks for Latin 4. 2011-06-06 16:25:56 +02:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Create sdksyms.dep in the right place at configure time 2011-06-28 09:33:25 -07:00
COPYING Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
devbook.am doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
docbook.am docbook.am: --path is also required for xsltproc 2011-06-22 10:49:46 -07:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am man: relocate manual pages in the man subdir outside doc 2011-05-13 14:08:17 -07:00
manpages.am Xdmx.man: Show actual configured XKB defaults instead of old hardcoded values 2011-06-21 17:54:14 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in config: declare xserver private dependencies in xorg-server.pc 2010-06-22 11:34:47 -07:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage