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.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index e437d703..b214dd50 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -15,12 +15,18 @@ public:
*/
virtual void onWindowRemoved(CWindow*) = 0;
/*
- Called when a the monitor requires a layout recalculation
+ Called when the monitor requires a layout recalculation
this usually means reserved area changes
*/
virtual void recalculateMonitor(const int&) = 0;
/*
+ Called when the compositor requests a window
+ to be recalculated, e.g. when pseudo is toggled.
+ */
+ virtual void recalculateWindow(CWindow*) = 0;
+
+ /*
Called when a window is requested to be floated
*/
virtual void changeWindowFloatingMode(CWindow*) = 0;