From be6902d072377c2d2b80e6418b2d9ff39ca8eefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Sat, 16 Nov 2024 08:58:24 +0100 Subject: [PATCH] winex11: Listen to PropertyNotify events on the virtual desktop window. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57423 --- dlls/winex11.drv/desktop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index dae0d652737..39e904dc7ee 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -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) ))