diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index 81a64b1089a..c75c54c3739 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;