winex11: Move the desktop process check from X11DRV_ClipCursor() to grab_clipping_win...
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 25 Apr 2013 07:59:42 +0000 (09:59 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 25 Apr 2013 09:47:39 +0000 (11:47 +0200)
commit76bbf106a28c4caa82873e8450bde7d4adc765bf
tree73a35d626c149cff8640f5bdf9a99e8bb71eee20
parente54c49d940996b03602f47622e41baf8f30d9dd4
winex11: Move the desktop process check from X11DRV_ClipCursor() to grab_clipping_window().

We don't want to clip in the desktop process, but we still need it to call
ungrab_clipping_window() if the process that was previously clipping didn't.
This can happen for example when fullscreen clipping is enabled, but the
corresponding window isn't explicitly destroyed before process exit.
dlls/winex11.drv/mouse.c