Commit b86cc9e6 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winex11: Let win32u decide when to force update the display cache.

parent 24e6e773
......@@ -2000,10 +2000,7 @@ void X11DRV_SetDesktopWindow( HWND hwnd )
if (!width && !height) /* not initialized yet */
{
RECT rect;
X11DRV_DisplayDevices_Init( TRUE );
rect = NtUserGetVirtualScreenRect();
RECT rect = NtUserGetVirtualScreenRect();
SERVER_START_REQ( set_window_pos )
{
......@@ -2036,11 +2033,7 @@ void X11DRV_SetDesktopWindow( HWND hwnd )
else
{
Window win = (Window)NtUserGetProp( hwnd, whole_window_prop );
if (win && win != root_window)
{
X11DRV_init_desktop( win, width, height );
X11DRV_DisplayDevices_Init( TRUE );
}
if (win && win != root_window) X11DRV_init_desktop( win, width, height );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment