summaryrefslogtreecommitdiff
path: root/src/managers/XWaylandManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-05 18:10:59 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-05 18:10:59 +0200
commitcd37a1533e0e86fffdd333e18bab0bb730c1dc25 (patch)
treefb32becc5c231a19b80fb911a8d60a1ce41869b1 /src/managers/XWaylandManager.hpp
parent575434f1a4cfce30cf89b62e5f1cce4b3c326b6e (diff)
reject tiling windows that do not meet the max size requirement
Diffstat (limited to 'src/managers/XWaylandManager.hpp')
-rw-r--r--src/managers/XWaylandManager.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/XWaylandManager.hpp b/src/managers/XWaylandManager.hpp
index 561865e4..3d8f57f2 100644
--- a/src/managers/XWaylandManager.hpp
+++ b/src/managers/XWaylandManager.hpp
@@ -24,6 +24,7 @@ public:
bool shouldBeFloated(CWindow*);
void moveXWaylandWindow(CWindow*, const Vector2D&);
void checkBorders(CWindow*);
+ Vector2D getMaxSizeForWindow(CWindow*);
};
inline std::unique_ptr<CHyprXWaylandManager> g_pXWaylandManager; \ No newline at end of file