winex11.drv: We still have to flush the display after mapping a window.
The Photoshop splash screen needs this.
This commit is contained in:
parent
abcbcc35da
commit
34c5104bcc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue