summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 82d047f3..9069e131 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -12,6 +12,12 @@ enum eClickBehaviorMode {
CLICKMODE_KILL
};
+enum eMouseBindMode {
+ MBIND_INVALID = -1,
+ MBIND_MOVE = 0,
+ MBIND_RESIZE
+};
+
struct STouchData {
CWindow* touchFocusWindow = nullptr;
Vector2D touchSurfaceOrigin;
@@ -59,7 +65,7 @@ public:
// for dragging floating windows
CWindow* currentlyDraggedWindow = nullptr;
- int dragButton = -1;
+ eMouseBindMode dragMode = MBIND_INVALID;
SDrag m_sDrag;