diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-03-25 14:58:57 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-07-24 00:49:57 +0100 |
commit | ec9262ca5da7765de2d02056b9727e78a73cb87c (patch) | |
tree | 82efee74d87774874746511b3e667540a29d5a67 /hw/xfree86/doc | |
parent | fa0c6bd784f3a626185b93ffd9e72d672b9a1ff4 (diff) |
Cygwin/X: Re-order window creation processjturney-race-fix
Be a bit more careful to do things in the right order and set all
the style flags before we show the window.
This is probably the right thing to do in any case as it means we can avoid
the messy appearance of the window changing style just after it is first shown
In this implementation, this is achieved by having WM_CREATE send a WM_WM_CREATE
message to our window manager thread, which then does all the work of discovering
the windows style; it's convenient to do that there as accessing X internals is
awkward in the wndproc; possibly it's more than convenient as there might be some
deadlock issue that thread avoids...
But note that this subtly changes the semantics of winCreateWindowsWindow():
previously the window was visible and drawn before that function returned, now
that happens asychronously; I'm not sure if that could cause problems or not...
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'hw/xfree86/doc')
0 files changed, 0 insertions, 0 deletions