Revert "Fix key repeat after releasing a different key on Wayland" (#10039)

apricotbucket28 created

Reverts zed-industries/zed#9768

That change didn't seem necessary and it made symbols that need a key
shortcut to be written (e.g. SHIFT + 2 for a quote) infinitely repeat.
 
Release Notes:

- N/A

Change summary

crates/gpui/src/platform/linux/wayland/client.rs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

Detailed changes

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;
                         }