Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

x11: Fix keymap reload to happen on XkbMapNotify not MapNotify (#32771)

Michael Sloan3595dbb155d6
diff --git a/crates/gpui/src/platform/linux/x11/client.rs b/crates/gpui/src/platform/linux/x11/client.rs
index 3c2e24b0c9b..0d4ba42797d 100644
--- a/crates/gpui/src/platform/linux/x11/client.rs
+++ b/crates/gpui/src/platform/linux/x11/client.rs
@@ -826,7 +826,7 @@ impl X11Client {
self.reset_ime();
window.handle_ime_delete();
}
- Event::XkbNewKeyboardNotify(_) | Event::MapNotify(_) => {
+ Event::XkbNewKeyboardNotify(_) | Event::XkbMapNotify(_) => {
let mut state = self.0.borrow_mut();
let xkb_state = {
let xkb_keymap = xkbc::x11::keymap_new_from_device(