[EXPLORER] CTrayWindow: Draw the sizer only when the taskbar is not locked.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 28 Jan 2018 22:27:45 +0000 (00:27 +0200)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 28 Jan 2018 22:27:45 +0000 (00:27 +0200)
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);
     }