winex11: Initialize thread data in clip_cursor_notify.

This commit is contained in:
Sebastian Lackner 2015-08-04 18:43:26 +02:00 committed by Alexandre Julliard
parent 6597453403
commit 0f3fa3965b
1 changed files with 1 additions and 1 deletions

View File

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