summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-03-01 22:12:26 +0000
committervaxerski <vaxry@vaxry.net>2023-03-01 22:12:26 +0000
commit76fc12869d186e59cf22d51e99e2909bf1828011 (patch)
treea2476eaa95b030013dca6a5f7978ce82826b5179 /src/managers/input/InputManager.hpp
parent556c7dd51f6990ea391921cb6ee04911523e0cea (diff)
nuke cursorSI due to crashes
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 797dea92..fd5edf12 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -7,21 +7,18 @@
#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
};
-enum eBorderIconDirection
-{
+enum eBorderIconDirection {
BORDERICON_NONE,
BORDERICON_UP,
BORDERICON_DOWN,
@@ -214,12 +211,12 @@ class CInputManager {
void setCursorIconOnBorder(CWindow* w);
// cursor surface
- struct cursorSI {
- wlr_surface* pSurface = nullptr;
- Vector2D vHotspot;
- bool bUsed = false;
- } cursorSurfaceInfo;
- DYNLISTENER(CursorSurfaceDestroy);
+ // struct cursorSI {
+ // wlr_surface* pSurface = nullptr;
+ // Vector2D vHotspot;
+ // bool bUsed = false;
+ // } cursorSurfaceInfo;
+ // DYNLISTENER(CursorSurfaceDestroy);
friend class CKeybindManager;
};