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

win32u: Don't force refresh the display cache on thread desktop change.

parent 17c6ac1f
......@@ -264,7 +264,7 @@ BOOL WINAPI NtUserSetThreadDesktop( HDESK handle )
thread_info->client_info.top_window = 0;
thread_info->client_info.msg_window = 0;
if (key_state_info) key_state_info->time = 0;
if (was_virtual_desktop != is_virtual_desktop()) update_display_cache( TRUE );
if (was_virtual_desktop != is_virtual_desktop()) update_display_cache( FALSE );
}
return ret;
}
......
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