Commit 93a02e7f authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't create a win data structure for HWND_MESSAGE windows.

parent e7044cb8
......@@ -1662,6 +1662,9 @@ struct x11drv_win_data *X11DRV_create_win_data( HWND hwnd )
if (!(parent = GetAncestor( hwnd, GA_PARENT ))) return NULL; /* desktop */
/* don't create win data for HWND_MESSAGE windows */
if (parent != GetDesktopWindow() && !GetAncestor( parent, GA_PARENT )) return NULL;
display = thread_init_display();
if (!(data = alloc_win_data( display, hwnd ))) return NULL;
......
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