winex11: Correctly initialize the cursor in a newly-created thread.
This commit is contained in:
parent
38a968ff52
commit
30f068a0b3
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue