Module: wine Branch: master Commit: 401d12085bc897e973badee3260aa41389c63c8e URL: http://source.winehq.org/git/wine.git/?a=commit;h=401d12085bc897e973badee326...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Jul 13 12:53:11 2012 +0200
winex11: Fix the virtual desktop check in update_desktop_fullscreen().
---
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;