aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-11-15 10:39:05 +0000
committervaxerski <[email protected]>2022-11-15 10:39:05 +0000
commitd5eafe192649b290fd587b41f772887058f7418b (patch)
tree3883098e3303cc3094ea7b66834d45a9c1dcaa2e /src/managers/input/InputManager.hpp
parente2da4ff257646ba892ba1c0b01f3f28999e22430 (diff)
downloadHyprland-d5eafe192649b290fd587b41f772887058f7418b.tar.gz
Hyprland-d5eafe192649b290fd587b41f772887058f7418b.zip
set cursor to hand1 when moving a window
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 4885277b..f570efcb 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -125,8 +125,14 @@ public:
// for virtual keyboards: whether we should respect them as normal ones
bool shouldIgnoreVirtualKeyboard(SKeyboard*);
+ // for special cursors that we choose
+ void setCursorImageUntilUnset(std::string);
+ void unsetCursorImage();
+
private:
+ bool m_bCursorImageOverriden = false;
+
// for click behavior override
eClickBehaviorMode m_ecbClickBehavior = CLICKMODE_DEFAULT;
bool m_bEmptyFocusCursorSet = false;