winex11.drv: Do not trash existing clip rectangle if XInput2 is not available.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Mar 23 01:33:42 CDT 2012
This patch makes dlls/user32/input.c and dlls/user32/monitor.c tests pass
on a system without XInput2.
---
dlls/winex11.drv/mouse.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 3dc1196..07601b3 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -390,7 +390,6 @@ static BOOL grab_clipping_window( const RECT *clip )
{
WARN( "XInput2 not supported, refusing to clip to %s\n", wine_dbgstr_rect(clip) );
DestroyWindow( msg_hwnd );
- ClipCursor( NULL );
return TRUE;
}
--
1.7.9.4
More information about the wine-patches
mailing list