Alexandre Julliard : winex11: Sending a move/ resize client message to the root requires a SubstructureRedirect mask too.

Alexandre Julliard julliard at winehq.org
Mon Aug 2 11:03:50 CDT 2010


Module: wine
Branch: master
Commit: a4704d3d14273137b05cedfba1bc3cff166dd542
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a4704d3d14273137b05cedfba1bc3cff166dd542

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Aug  1 20:06:05 2010 +0200

winex11: Sending a move/resize client message to the root requires a SubstructureRedirect mask too.

---

 dlls/winex11.drv/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index b3118cc..8957a44 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2671,7 +2671,7 @@ LRESULT CDECL X11DRV_SysCommand( HWND hwnd, WPARAM wparam, LPARAM lparam )
      * with a ButtonPress event */
     wine_tsx11_lock();
     XUngrabPointer( display, CurrentTime );
-    XSendEvent(display, root_window, False, SubstructureNotifyMask, &xev);
+    XSendEvent(display, root_window, False, SubstructureNotifyMask | SubstructureRedirectMask, &xev);
     wine_tsx11_unlock();
     return 0;
 }




More information about the wine-cvs mailing list