diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-21 01:47:38 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-21 01:49:23 +0100 |
| commit | 30e4b404f2a30230f57c946b655c2365b3bf8e3d (patch) | |
| tree | 705e3143484dffed5d90df82d2c9ea26e02bedc2 /src/managers/input/InputManager.hpp | |
| parent | a141bbbea503ae7b320eba614a80ca2f4e5c1cba (diff) | |
cursor-shape: move to new impl
Diffstat (limited to 'src/managers/input/InputManager.hpp')
| -rw-r--r-- | src/managers/input/InputManager.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp index f1c322ca..dd8f5c63 100644 --- a/src/managers/input/InputManager.hpp +++ b/src/managers/input/InputManager.hpp @@ -5,6 +5,7 @@ #include "../../helpers/WLClasses.hpp" #include "../../helpers/Timer.hpp" #include "InputMethodRelay.hpp" +#include "../../helpers/signal/Listener.hpp" class CConstraint; class CWindow; @@ -63,6 +64,7 @@ class CKeybindManager; class CInputManager { public: + CInputManager(); ~CInputManager(); void onMouseMoved(wlr_pointer_motion_event*); @@ -102,7 +104,6 @@ class CInputManager { void setClickMode(eClickBehaviorMode); eClickBehaviorMode getClickMode(); void processMouseRequest(wlr_seat_pointer_request_set_cursor_event* e); - void processMouseRequest(wlr_cursor_shape_manager_v1_request_set_shape_event* e); void onTouchDown(wlr_touch_down_event*); void onTouchUp(wlr_touch_up_event*); @@ -197,6 +198,11 @@ class CInputManager { bool m_bEmptyFocusCursorSet = false; private: + // Listeners + struct { + CHyprSignalListener setCursorShape; + } m_sListeners; + bool m_bCursorImageOverridden = false; eBorderIconDirection m_eBorderIconDirection = BORDERICON_NONE; |
