Commit 0f3fa396 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

winex11: Initialize thread data in clip_cursor_notify.

parent 65974534
...@@ -452,7 +452,7 @@ void reset_clipping_window(void) ...@@ -452,7 +452,7 @@ void reset_clipping_window(void)
*/ */
LRESULT clip_cursor_notify( HWND hwnd, HWND new_clip_hwnd ) 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 */ if (hwnd == GetDesktopWindow()) /* change the clip window stored in the desktop process */
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment