winex11: Fix the virtual desktop check in update_desktop_fullscreen().

This commit is contained in:
Henri Verbeet 2012-07-13 12:53:11 +02:00 committed by Alexandre Julliard
parent 92e04256a9
commit 401d12085b
1 changed files with 1 additions and 1 deletions

View File

@ -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;