mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
winex11: Move resetting of the cursor clip rectangle into xinerama_init().
This commit is contained in:
parent
235dd63fdc
commit
dbfe24c33c
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user