Module: wine Branch: master Commit: 24e6e7735edec15fae987af3bcb8ec0eeaabbbc6 URL: https://gitlab.winehq.org/wine/wine/-/commit/24e6e7735edec15fae987af3bcb8ec0...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Apr 10 18:54:32 2024 +0200
win32u: Don't force refresh the display cache on thread desktop change.
---
dlls/win32u/winstation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/winstation.c b/dlls/win32u/winstation.c index a3aed32f1da..3e71218200a 100644 --- a/dlls/win32u/winstation.c +++ b/dlls/win32u/winstation.c @@ -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; }