diff options
| author | Salman Farooq <salman.farooq3310@gmail.com> | 2024-06-30 22:37:44 +0500 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-05 08:40:25 +0300 |
| commit | d3aebdbec4ae2c1ac4199cdd4e95a8d218362b25 (patch) | |
| tree | ec57d3537a83f005785ffa132b4ad97a17369c75 /src/niri.rs | |
| parent | a56e4ff436cc4f36d7cda89e985d51e37f0b4f78 (diff) | |
| download | niri-d3aebdbec4ae2c1ac4199cdd4e95a8d218362b25.tar.gz niri-d3aebdbec4ae2c1ac4199cdd4e95a8d218362b25.tar.bz2 niri-d3aebdbec4ae2c1ac4199cdd4e95a8d218362b25.zip | |
Implement key repeat for compositor binds
Diffstat (limited to 'src/niri.rs')
| -rw-r--r-- | src/niri.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/niri.rs b/src/niri.rs index 54211bce..177f5765 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -234,6 +234,7 @@ pub struct Niri { /// Scancodes of the keys to suppress. pub suppressed_keys: HashSet<u32>, pub bind_cooldown_timers: HashMap<Key, RegistrationToken>, + pub bind_repeat_timer: Option<RegistrationToken>, pub keyboard_focus: KeyboardFocus, pub idle_inhibiting_surfaces: HashSet<WlSurface>, pub is_fdo_idle_inhibited: Arc<AtomicBool>, @@ -1657,6 +1658,7 @@ impl Niri { popup_grab: None, suppressed_keys: HashSet::new(), bind_cooldown_timers: HashMap::new(), + bind_repeat_timer: Option::default(), presentation_state, security_context_state, gamma_control_manager_state, |
