From a4b026df2b7f94b2985d38b1ef6fb127782c1a27 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 20 Mar 2022 11:14:24 +0100 Subject: floating windows support --- src/managers/InputManager.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/managers/InputManager.hpp') diff --git a/src/managers/InputManager.hpp b/src/managers/InputManager.hpp index 75ad75d6..ce1afcea 100644 --- a/src/managers/InputManager.hpp +++ b/src/managers/InputManager.hpp @@ -3,6 +3,7 @@ #include "../defines.hpp" #include #include "../helpers/WLClasses.hpp" +#include "../Window.hpp" class CInputManager { public: @@ -20,6 +21,11 @@ public: Vector2D getMouseCoordsInternal(); + + // for dragging floating windows + CWindow* currentlyDraggedWindow = nullptr; + int dragButton = -1; + private: std::list m_lKeyboards; -- cgit v1.2.3