explorer: Use root window if driver doesn't implement create_desktop.

This commit is contained in:
Rémi Bernon 2023-05-29 17:33:03 +02:00 committed by Alexandre Julliard
parent f9c1b6af12
commit dbb63987f0

View file

@ -774,7 +774,7 @@ static LRESULT WINAPI desktop_wnd_proc( HWND hwnd, UINT message, WPARAM wp, LPAR
/* create the desktop and the associated driver window, and make it the current desktop */
static BOOL create_desktop( HMODULE driver, const WCHAR *name, unsigned int width, unsigned int height )
{
BOOL ret = FALSE;
BOOL ret = TRUE;
BOOL (CDECL *create_desktop_func)(unsigned int, unsigned int);
if (driver)