winex11.drv: We still have to flush the display after mapping a window.

The Photoshop splash screen needs this.
This commit is contained in:
Alexandre Julliard 2007-02-13 17:17:26 +01:00
parent abcbcc35da
commit 34c5104bcc
1 changed files with 2 additions and 0 deletions

View File

@ -382,6 +382,7 @@ BOOL X11DRV_SetWindowPos( HWND hwnd, HWND insert_after, const RECT *rectWindow,
X11DRV_set_wm_hints( display, data ); X11DRV_set_wm_hints( display, data );
wine_tsx11_lock(); wine_tsx11_lock();
XMapWindow( display, data->whole_window ); XMapWindow( display, data->whole_window );
XFlush( display );
wine_tsx11_unlock(); wine_tsx11_unlock();
mapped = TRUE; mapped = TRUE;
} }
@ -391,6 +392,7 @@ BOOL X11DRV_SetWindowPos( HWND hwnd, HWND insert_after, const RECT *rectWindow,
TRACE( "mapping non zero size or off-screen win %p\n", hwnd ); TRACE( "mapping non zero size or off-screen win %p\n", hwnd );
wine_tsx11_lock(); wine_tsx11_lock();
XMapWindow( display, data->whole_window ); XMapWindow( display, data->whole_window );
XFlush( display );
wine_tsx11_unlock(); wine_tsx11_unlock();
mapped = TRUE; mapped = TRUE;
} }