Module: wine Branch: master Commit: d9b5bf9a719b1145f514230f170ccc6b969a6679 URL: https://gitlab.winehq.org/wine/wine/-/commit/d9b5bf9a719b1145f514230f170ccc6...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Tue Jan 9 19:44:06 2024 +0200
Revert "winex11: Use the correct root window for virtual desktops.".
This reverts commit 790133e95036597092443b30c0fe0aa6a40a9167.
It was incorrect, sorry about that. The issue was weirder in a different place (MWM_FUNC_RESIZE not set before setting fullscreen).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149
---
dlls/winex11.drv/desktop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index fcb6ba2faf5..687c0cf5a4c 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -107,7 +107,7 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height) if (!display || !is_virtual_desktop()) return;
xev.xclient.type = ClientMessage; - xev.xclient.window = DefaultRootWindow(display); + xev.xclient.window = root_window; xev.xclient.message_type = x11drv_atom(_NET_WM_STATE); xev.xclient.serial = 0; xev.xclient.display = display;