From 401d12085bc897e973badee3260aa41389c63c8e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 13 Jul 2012 12:53:11 +0200 Subject: [PATCH] winex11: Fix the virtual desktop check in update_desktop_fullscreen(). --- 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 81a64b1089..c75c54c373 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -208,7 +208,7 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height) Display *display = thread_display(); XEvent xev; - if (!display || root_window != DefaultRootWindow( display )) return; + if (!display || root_window == DefaultRootWindow( display )) return; xev.xclient.type = ClientMessage; xev.xclient.window = root_window;