mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
keybinds: allow repeating multiple binds (#8290)
This commit is contained in:
@@ -102,8 +102,6 @@ class CKeybindManager {
|
||||
|
||||
std::unordered_map<std::string, std::function<SDispatchResult(std::string)>> m_mDispatchers;
|
||||
|
||||
wl_event_source* m_pActiveKeybindEventSource = nullptr;
|
||||
|
||||
bool m_bGroupsLocked = false;
|
||||
|
||||
std::list<SKeybind> m_lKeybinds;
|
||||
@@ -121,8 +119,9 @@ class CKeybindManager {
|
||||
|
||||
inline static std::string m_szCurrentSelectedSubmap = "";
|
||||
|
||||
SKeybind * m_pActiveKeybind = nullptr, *m_pLastLongPressKeybind = nullptr;
|
||||
SP<CEventLoopTimer> m_pLongPressTimer;
|
||||
std::vector<SKeybind*> m_vActiveKeybinds;
|
||||
SKeybind* m_pLastLongPressKeybind = nullptr;
|
||||
SP<CEventLoopTimer> m_pLongPressTimer, m_pRepeatKeyTimer;
|
||||
|
||||
uint32_t m_uTimeLastMs = 0;
|
||||
uint32_t m_uLastCode = 0;
|
||||
|
Reference in New Issue
Block a user