From 3f99dad7f563593d298bcd548002e5b53a886825 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 2 Apr 2022 20:04:32 +0200 Subject: Added pseudotiling --- src/layout/IHyprLayout.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/layout/IHyprLayout.hpp') 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,11 +15,17 @@ 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 */ -- cgit v1.2.3