summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-31 00:26:15 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-31 00:26:15 +0000
commit11234529dbc5f85fc46df479f563c2c563afe9c2 (patch)
tree97cd16dd56dd8aa779d2961ccd31a1125674e853 /src/managers/input/InputManager.hpp
parentf90ff8303b4f2d0c39fe9e3dd35c5b0258491156 (diff)
Simulate mouse movement on unmap of popups and subsurfaces
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index ec495d69..525b5c85 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -7,12 +7,14 @@
#include "../../helpers/Timer.hpp"
#include "InputMethodRelay.hpp"
-enum eClickBehaviorMode {
+enum eClickBehaviorMode
+{
CLICKMODE_DEFAULT = 0,
CLICKMODE_KILL
};
-enum eMouseBindMode {
+enum eMouseBindMode
+{
MBIND_INVALID = -1,
MBIND_MOVE = 0,
MBIND_RESIZE
@@ -72,6 +74,7 @@ class CInputManager {
Vector2D getMouseCoordsInternal();
void refocus();
+ void simulateMouseMovement();
void setKeyboardLayout();
void setPointerConfigs();