Commit 538cf8b8 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

winex11: Select StructureNotifyMask input on all windows.

parent 7f22f1c6
......@@ -803,7 +803,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
if (!hwnd) return;
if (!(data = X11DRV_get_win_data( hwnd ))) return;
if (!data->mapped || data->iconic) return;
if (!data->mapped || data->iconic || !data->managed) return;
/* Get geometry */
......
......@@ -307,8 +307,9 @@ static int get_window_attributes( Display *display, struct x11drv_win_data *data
attr->backing_store = NotUseful;
attr->event_mask = (ExposureMask | PointerMotionMask |
ButtonPressMask | ButtonReleaseMask | EnterWindowMask |
KeyPressMask | KeyReleaseMask | FocusChangeMask | KeymapStateMask);
if (data->managed) attr->event_mask |= StructureNotifyMask | PropertyChangeMask;
KeyPressMask | KeyReleaseMask | FocusChangeMask |
KeymapStateMask | StructureNotifyMask);
if (data->managed) attr->event_mask |= PropertyChangeMask;
return (CWOverrideRedirect | CWSaveUnder | CWColormap | CWCursor |
CWEventMask | CWBitGravity | CWBackingStore);
......
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