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

commit c54c5ebb5f320b6cfe8d355eec9f27f7dee111c8
Author:     Giannis Adamopoulos <[email protected]>
AuthorDate: Mon Jan 29 00:27:45 2018 +0200
Commit:     Giannis Adamopoulos <[email protected]>
CommitDate: Mon Jan 29 00:27:45 2018 +0200

    [EXPLORER] CTrayWindow: Draw the sizer only when the taskbar is not locked.
---
 base/shell/explorer/traywnd.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp
index e0b5aba452..9ca7b25781 100644
--- a/base/shell/explorer/traywnd.cpp
+++ b/base/shell/explorer/traywnd.cpp
@@ -2168,6 +2168,10 @@ ChangePos:
             bHandled = FALSE;
             return 0;
         }
+        else if (g_TaskbarSettings.bLock)
+        {
+            return 0;
+        }
 
         return DrawSizerWithTheme((HRGN) wParam);
     }

Reply via email to