[Bug 10142] Window Management Bug

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 28 10:07:37 CDT 2008


--- Comment #20 from David Taylor <davidt-wine at yadt.co.uk>  2008-09-28 10:07:34 ---
Created an attachment (id=16326)
 --> (http://bugs.winehq.org/attachment.cgi?id=16326)
Possible fix

I've been experiencing problems with always-on-top windows disappearing when I
switch desktops in compiz.  I tracked the problem down to wine unmapping the
window in certain situations.

I managed to fix the problem by adding '&& !(swp_flags & SWP_NOMOVE)' to the
conditions for unmapping the window in X11DRV_SetWindowPos.

Unfortunately, since I'm not entirely sure when (or why) that code IS supposed
to be unmapping the window, I could well have broken something else.  But,
intuitively, if we didn't unmap the window on the original call that moved it
off-screen, I don't think we should be unmapping it due to its position in a
later call with the SWP_NOMOVE flag set.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list