Commit dbfe24c3 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Move resetting of the cursor clip rectangle into xinerama_init().

parent 235dd63f
......@@ -964,7 +964,6 @@ void X11DRV_resize_desktop( unsigned int width, unsigned int height )
resize_data.old_virtual_rect = virtual_screen_rect;
xinerama_init( width, height );
ClipCursor(NULL);
if (!(data = X11DRV_get_win_data( hwnd )))
{
......
......@@ -543,7 +543,6 @@ static BOOL process_attach(void)
X11DRV_XComposite_Init();
#endif
X11DRV_ClipCursor( NULL );
X11DRV_InitKeyboard();
X11DRV_InitClipboard();
......
......@@ -169,6 +169,7 @@ void xinerama_init( unsigned int width, unsigned int height )
wine_dbgstr_rect(&virtual_screen_rect), screen_width, screen_height );
wine_tsx11_unlock();
ClipCursor( NULL ); /* reset the cursor clip rectangle */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment