From 418e2d96aef0b52d1f93eb3dfe7d08906c7c719c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 20 Apr 2022 16:18:58 +0200 Subject: Added the movewindow dispatcher --- src/layout/IHyprLayout.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/layout/IHyprLayout.hpp') 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 -- cgit v1.2.3