[EXPLORER] CTrayWindow: Draw the sizer only when the taskbar is not locked.
[reactos.git] / base / shell / explorer / traywnd.cpp
index e0b5aba..9ca7b25 100644 (file)
@@ -2168,6 +2168,10 @@ ChangePos:
             bHandled = FALSE;
             return 0;
         }
+        else if (g_TaskbarSettings.bLock)
+        {
+            return 0;
+        }
 
         return DrawSizerWithTheme((HRGN) wParam);
     }