explorer: Remove SWP_NOACTIVATE to ensure that the foreground window is set to the desktop.

This commit is contained in:
Alexandre Julliard 2013-11-04 19:40:13 +01:00
parent cb1806db26
commit 1483bfa21d
1 changed files with 1 additions and 1 deletions

View File

@ -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();