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

This commit is contained in:
Alexandre Julliard 2010-08-01 20:06:05 +02:00
parent f56dd18a0c
commit a4704d3d14
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}