Commit 790133e9 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

winex11: Use the correct root window for virtual desktops.

Fixes a regression introduced by 7255f63a, which effectively made the taskbar always visible even when virtual desktop was supposed to be fullscreen. Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com>
parent 62cb2bcd
......@@ -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 = root_window;
xev.xclient.window = DefaultRootWindow(display);
xev.xclient.message_type = x11drv_atom(_NET_WM_STATE);
xev.xclient.serial = 0;
xev.xclient.display = display;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment