winex11: Don't create a win data structure for HWND_MESSAGE windows.
This commit is contained in:
parent
e7044cb8f8
commit
93a02e7f65
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue