https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7a17c7d9adadf88eafc382d792771bea5fc412f8

commit 7a17c7d9adadf88eafc382d792771bea5fc412f8
Author:     Joachim Henze <[email protected]>
AuthorDate: Sun Jan 29 21:05:33 2023 +0100
Commit:     Joachim Henze <[email protected]>
CommitDate: Sun Jan 29 21:05:33 2023 +0100

    [NETSHELL] LanStatusDlg should show on LBUTTONUP in systray CORE-18813
    
    not on LBUTTONDOWN.
---
 dll/shellext/netshell/lanstatusui.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/shellext/netshell/lanstatusui.cpp 
b/dll/shellext/netshell/lanstatusui.cpp
index c3be62dcad3..a2c8d37dcc6 100644
--- a/dll/shellext/netshell/lanstatusui.cpp
+++ b/dll/shellext/netshell/lanstatusui.cpp
@@ -851,7 +851,7 @@ LANStatusDlg(
             }
             break;
         case WM_SHOWSTATUSDLG:
-            if (LOWORD(lParam) == WM_LBUTTONDOWN)
+            if (LOWORD(lParam) == WM_LBUTTONUP)
             {
                 pContext = (LANSTATUSUI_CONTEXT*)GetWindowLongPtr(hwndDlg, 
DWLP_USER);
                 if (!pContext)

Reply via email to