Module: wine Branch: master Commit: 1483bfa21d4945a1f62d957edafbd179cd518865 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1483bfa21d4945a1f62d957eda...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Nov 4 19:40:13 2013 +0100
explorer: Remove SWP_NOACTIVATE to ensure that the foreground window is set to the desktop.
---
programs/explorer/desktop.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index c3abe6d..1a8db99 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -839,7 +839,7 @@ void manage_desktop( WCHAR *arg ) if (name) set_desktop_window_title( hwnd, name ); SetWindowPos( hwnd, 0, GetSystemMetrics(SM_XVIRTUALSCREEN), GetSystemMetrics(SM_YVIRTUALSCREEN), GetSystemMetrics(SM_CXVIRTUALSCREEN), GetSystemMetrics(SM_CYVIRTUALSCREEN), - SWP_NOZORDER | SWP_NOACTIVATE | SWP_SHOWWINDOW ); + SWP_SHOWWINDOW ); SystemParametersInfoW( SPI_SETDESKWALLPAPER, 0, NULL, FALSE ); ClipCursor( NULL ); initialize_display_settings();