Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Fix key repeat after releasing a different key on Wayland" (#10039)
apricotbucket28d1d4f837229d
diff --git a/crates/gpui/src/platform/linux/wayland/client.rs b/crates/gpui/src/platform/linux/wayland/client.rsindex d14688e1066..c3fbe3ea258 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<wl_keyboard::WlKeyboard, ()> 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;}