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