1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

Revert "winex11: Use the correct root window for virtual desktops.".

This reverts commit 790133e950.

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
This commit is contained in:
Gabriel Ivăncescu 2024-01-09 19:44:06 +02:00 committed by Alexandre Julliard
parent 1b75341346
commit d9b5bf9a71

View file

@ -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;