Commit dbb63987 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

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

parent f9c1b6af
...@@ -774,7 +774,7 @@ static LRESULT WINAPI desktop_wnd_proc( HWND hwnd, UINT message, WPARAM wp, LPAR ...@@ -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 */ /* 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 ) 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); BOOL (CDECL *create_desktop_func)(unsigned int, unsigned int);
if (driver) if (driver)
......
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