From: Rémi Bernon rbernon@codeweavers.com
The events will be ignored later but this helps making the window state tracking more consistent. --- dlls/winex11.drv/window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index e8c5f4fbb6d..c778d1099c9 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -473,8 +473,7 @@ static int get_window_attributes( struct x11drv_win_data *data, XSetWindowAttrib attr->event_mask = (ExposureMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | EnterWindowMask | KeyPressMask | KeyReleaseMask | FocusChangeMask | - KeymapStateMask | StructureNotifyMask); - if (data->managed) attr->event_mask |= PropertyChangeMask; + KeymapStateMask | StructureNotifyMask | PropertyChangeMask);
return (CWOverrideRedirect | CWSaveUnder | CWColormap | CWBorderPixel | CWEventMask | CWBitGravity | CWBackingStore);