Module: wine Branch: stable Commit: 6bca77790aea45433ce35a8d5c628400ddba6160 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6bca77790aea45433ce35a8d5c...
Author: Alexandre Julliard julliard@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. (cherry picked from commit a4704d3d14273137b05cedfba1bc3cff166dd542)
---
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; }