This can happen when explorer creates a new virtual desktop, while being associated with the default non-virtual desktop. Explorer then fails to change the display settings of the virtual source in this case.
From: Rémi Bernon rbernon@codeweavers.com
This can happen when explorer creates a new virtual desktop, while being associated with the default non-virtual desktop. Explorer then fails to change the display settings of the virtual source in this case.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56993 --- 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 297a3b788ad..d2386fd5af5 100644 --- a/dlls/win32u/winstation.c +++ b/dlls/win32u/winstation.c @@ -559,7 +559,7 @@ BOOL WINAPI NtUserSetThreadDesktop( HDESK handle ) memset( &data->shared_foreground, 0, sizeof(data->shared_foreground) ); thread_info->client_info.top_window = 0; thread_info->client_info.msg_window = 0; - if (was_virtual_desktop != is_virtual_desktop()) update_display_cache( FALSE ); + if (was_virtual_desktop != is_virtual_desktop()) update_display_cache( TRUE ); } return ret; }