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

This commit is contained in:
Alexandre Julliard 2008-01-23 10:30:42 +01:00
parent 235dd63fdc
commit dbfe24c33c
3 changed files with 1 additions and 2 deletions

View File

@ -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 )))
{

View File

@ -543,7 +543,6 @@ static BOOL process_attach(void)
X11DRV_XComposite_Init();
#endif
X11DRV_ClipCursor( NULL );
X11DRV_InitKeyboard();
X11DRV_InitClipboard();

View File

@ -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 */
}