winex11: Select StructureNotifyMask input on all windows.

This commit is contained in:
Vincent Povirk 2008-12-15 18:47:24 -06:00 committed by Alexandre Julliard
parent 7f22f1c68d
commit 538cf8b847
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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);