Module: wine Branch: master Commit: dbb63987f0b6ed821d872fe44eed7eebd0e7fda2 URL: https://gitlab.winehq.org/wine/wine/-/commit/dbb63987f0b6ed821d872fe44eed7ee...
Author: Rémi Bernon rbernon@codeweavers.com Date: Mon May 29 17:33:03 2023 +0200
explorer: Use root window if driver doesn't implement create_desktop.
---
programs/explorer/desktop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index a23fdc90a0f..59a12464291 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -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)