summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2024-10-07 18:52:49 +0000
committerGitHub <noreply@github.com>2024-10-07 19:52:49 +0100
commita364df4c9e9a73f0460665463028539e3abe4a8b (patch)
tree47b1d81390c78adb04c744c19c41d6a483c76c07 /src/desktop/Window.hpp
parent46d990f1b632dc52a667d876a32cffb24ef72bd8 (diff)
internal: use clampWindowSize to unify min/maxsize handling (#8014)
modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index d14248c5..9baf57c4 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -429,6 +429,7 @@ class CWindow {
bool onSpecialWorkspace();
void activate(bool force = false);
int surfacesCount();
+ void clampWindowSize(const std::optional<Vector2D> minSize, const std::optional<Vector2D> maxSize);
bool isFullscreen();
bool isEffectiveInternalFSMode(const eFullscreenMode);