diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 3a11b4139fd..e462b5594b5 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -452,7 +452,7 @@ void reset_clipping_window(void) */ LRESULT clip_cursor_notify( HWND hwnd, HWND new_clip_hwnd ) { - struct x11drv_thread_data *data = x11drv_thread_data(); + struct x11drv_thread_data *data = x11drv_init_thread_data(); if (hwnd == GetDesktopWindow()) /* change the clip window stored in the desktop process */ {