Rémi Bernon : winex11.drv: Explicitly call XUngrabPointer when clipping is released.
Module: wine Branch: master Commit: ae4651b7ffad963aa1501b3ba5eb953141942a76 URL: https://source.winehq.org/git/wine.git/?a=commit;h=ae4651b7ffad963aa1501b3ba... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Fri Aug 30 12:18:02 2019 +0200 winex11.drv: Explicitly call XUngrabPointer when clipping is released. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/winex11.drv/mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 97e2935..fff6fc7 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -465,6 +465,7 @@ void ungrab_clipping_window(void) TRACE( "no longer clipping\n" ); XUnmapWindow( display, clip_window ); + if (clipping_cursor) XUngrabPointer( display, CurrentTime ); clipping_cursor = FALSE; SendMessageW( GetDesktopWindow(), WM_X11DRV_CLIP_CURSOR, 0, 0 ); }
participants (1)
-
Alexandre Julliard