=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: user32: Call DefWindowProc() in DesktopWndProc().

Alexandre Julliard julliard at winehq.org
Wed Sep 19 16:28:13 CDT 2018


Module: wine
Branch: master
Commit: a8e7348a3da311377f01605617adf8ef583c17be
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a8e7348a3da311377f01605617adf8ef583c17be

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Sep 17 12:07:27 2018 +0200

user32: Call DefWindowProc() in DesktopWndProc().

This fixes a regression introduced by commit
fc14753dc0188a52a05243d5d82c4062b93daaff.

WM_NCCALCSIZE is not handled yet because it initiates loading the
driver again.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45485
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/desktop.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/user32/desktop.c b/dlls/user32/desktop.c
index d22e732..fe66494 100644
--- a/dlls/user32/desktop.c
+++ b/dlls/user32/desktop.c
@@ -127,8 +127,10 @@ LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lP
         }
         return TRUE;
     }
+    case WM_NCCALCSIZE:
+        return 0;
     default:
-        return 0;  /* all other messages are ignored */
+        return DefWindowProcW( hwnd, message, wParam, lParam );
     }
 }
 




More information about the wine-cvs mailing list