winex11: Correctly initialize the cursor in a newly-created thread.

This commit is contained in:
Alexandre Julliard 2008-02-25 13:32:45 +01:00
parent 38a968ff52
commit 30f068a0b3
2 changed files with 2 additions and 0 deletions

View File

@ -711,6 +711,7 @@ extern int X11DRV_AcquireClipboard(HWND hWndClipWindow);
extern void X11DRV_ResetSelectionOwner(void);
extern void X11DRV_SetFocus( HWND hwnd );
extern Cursor X11DRV_GetCursor( Display *display, struct tagCURSORICONINFO *ptr );
extern void X11DRV_SetCursor( struct tagCURSORICONINFO *lpCursor );
extern BOOL X11DRV_ClipCursor( LPCRECT clip );
extern void X11DRV_InitKeyboard( Display *display );
extern void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD dwFlags, DWORD time,

View File

@ -659,6 +659,7 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
data->last_focus = 0;
data->selection_wnd = 0;
TlsSetValue( thread_data_tls_index, data );
X11DRV_SetCursor( NULL );
return data;
}