summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-20 16:18:58 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-20 16:18:58 +0200
commit418e2d96aef0b52d1f93eb3dfe7d08906c7c719c (patch)
tree66002f952e2d7eb0a41408444fed90ecb0fa00f9 /src/layout/IHyprLayout.hpp
parentbebfe01d731a977c23c325dd37361f6d5f7268c2 (diff)
Added the movewindow dispatcher
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 16414895..341d5fbb 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -84,4 +84,10 @@ public:
a specific window, e.g. border color for groups.
*/
virtual SWindowRenderLayoutHints requestRenderHints(CWindow*) = 0;
+
+ /*
+ Called when the user requests two windows to be swapped places.
+ The layout is free to ignore.
+ */
+ virtual void switchWindows(CWindow*, CWindow*) = 0;
}; \ No newline at end of file