winex11: Listen to PropertyNotify events on the virtual desktop window.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57423
This commit is contained in:
Rémi Bernon 2024-11-16 08:58:24 +01:00 committed by Alexandre Julliard
parent 6ac127ebc6
commit be6902d072
Notes: Alexandre Julliard 2024-11-18 23:18:45 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6569

View file

@ -73,7 +73,8 @@ BOOL X11DRV_CreateDesktop( const WCHAR *name, UINT width, UINT height )
/* Create window */
win_attr.event_mask = ExposureMask | KeyPressMask | KeyReleaseMask | EnterWindowMask |
PointerMotionMask | ButtonPressMask | ButtonReleaseMask | FocusChangeMask;
PointerMotionMask | ButtonPressMask | ButtonReleaseMask | FocusChangeMask |
PropertyChangeMask;
win_attr.cursor = XCreateFontCursor( display, XC_top_left_arrow );
if (default_visual.visual != DefaultVisual( display, DefaultScreen(display) ))