winex11.drv: Disable WM while positioning window

Peter Dons Tychsen donpedro at tdcadsl.dk
Mon Oct 5 14:31:29 CDT 2009


Hello,

This fixes:
http://bugs.winehq.org/show_bug.cgi?id=15346

Theory:

As documented here:
http://tronche.com/gui/x/xlib/window/attributes/override-redirect.html

We cannot use the X API to move the window, as the WM might limit or
interfere with the movement in many ways. An example is that Wine cannot
move a window (with SetWindowPos) partially out of the desktop left-ward
in Metacity or Compiz.

As documented in the link above, overriding the WM with
override_redirect temporarily fixes the problem.

Thanks,

/pedro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable_wm_while_positioning.patch
Type: text/x-patch
Size: 1458 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091005/4f102c07/attachment.bin>


More information about the wine-patches mailing list