Commit 1483bfa2 authored by Alexandre Julliard's avatar Alexandre Julliard

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

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