summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-23 10:14:59 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-23 10:14:59 +0200
commit31dc70a41a605b09e31bb7394fc0e339a1b82418 (patch)
tree68c8ff8b332988836f624603adf4512506d2c86e /src/layout/IHyprLayout.hpp
parentf9745b0d3b85c447c3c8d3421db638f1087a1e91 (diff)
Added exact to resizeActive and added moveactive
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 8052fe42..a7268301 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -56,6 +56,12 @@ public:
*/
virtual void resizeActiveWindow(const Vector2D&, CWindow* pWindow = nullptr) = 0;
/*
+ Called when a user requests a move of the current window by a vec
+ Vector2D holds pixel values
+ Optional pWindow for a specific window
+ */
+ virtual void moveActiveWindow(const Vector2D&, CWindow* pWindow = nullptr) = 0;
+ /*
Called when a window is ended being dragged
(mouse up)
*/