diff --git a/crates/gpui/src/platform/linux/wayland/client.rs b/crates/gpui/src/platform/linux/wayland/client.rs index d14688e106..c3fbe3ea25 100644 --- a/crates/gpui/src/platform/linux/wayland/client.rs +++ b/crates/gpui/src/platform/linux/wayland/client.rs @@ -796,12 +796,7 @@ impl Dispatch for WaylandClientState { }) }; - if !keysym.is_modifier_key() - && (match state.repeat.current_keysym { - Some(repeat_keysym) => keysym == repeat_keysym, - None => false, - }) - { + if !keysym.is_modifier_key() { state.repeat.current_keysym = None; }