summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
-rw-r--r--src/layout/IHyprLayout.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index d97a2ba8..ad19700d 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -230,6 +230,12 @@ class IHyprLayout {
*/
virtual void fitFloatingWindowOnMonitor(PHLWINDOW w, std::optional<CBox> targetBox = std::nullopt);
+ /*
+ Returns a logical box describing the work area on a workspace
+ (monitor size - reserved - gapsOut)
+ */
+ virtual CBox workAreaOnWorkspace(const PHLWORKSPACE& pWorkspace);
+
private:
int m_mouseMoveEventCount;
Vector2D m_beginDragXY;