summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-02 20:04:32 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-02 20:04:32 +0200
commit3f99dad7f563593d298bcd548002e5b53a886825 (patch)
tree4bdd69de02aff2b8a8352ff8abbb6b38d5d91c8c /src/layout/IHyprLayout.hpp
parent7add082217b1e86f36bb152aec658eb5977622fa (diff)
Added pseudotiling
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;