diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-20 11:14:24 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-20 11:14:24 +0100 |
| commit | a4b026df2b7f94b2985d38b1ef6fb127782c1a27 (patch) | |
| tree | c85f054baed6951fa096a358096fecc4e5c08a19 /src/managers/InputManager.hpp | |
| parent | a4d69a15b34e54d8438a7242b151b1d31cbef46a (diff) | |
floating windows support
Diffstat (limited to 'src/managers/InputManager.hpp')
| -rw-r--r-- | src/managers/InputManager.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <list> #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<SKeyboard> m_lKeyboards; |
