[PATCH 5/5] winex11: Fix the virtual desktop check in update_desktop_fullscreen().
Henri Verbeet
hverbeet at codeweavers.com
Fri Jul 13 05:53:11 CDT 2012
We want to update the fullscreen state when we *are* using a virtual desktop.
---
dlls/winex11.drv/desktop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c
index 81a64b1..c75c54c 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;
--
1.7.8.6
More information about the wine-patches
mailing list