winex11: Select StructureNotifyMask input on all windows.
This commit is contained in:
parent
7f22f1c68d
commit
538cf8b847
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue