diff --git a/crates/gpui/src/platform/linux/x11/client.rs b/crates/gpui/src/platform/linux/x11/client.rs index 0c3f12b9237eb58ae10d1ee9cf2bfa4d8955fcd2..9cbdfa3c1f9f418daf07dfc9a4da3e19b6689cb3 100644 --- a/crates/gpui/src/platform/linux/x11/client.rs +++ b/crates/gpui/src/platform/linux/x11/client.rs @@ -988,7 +988,13 @@ impl X11Client { state.xkb = xkb_state; drop(state); self.handle_keyboard_layout_change(); - update_keyboard_mapper(&mut state, keyboard_layout, 0, 0, 0); + update_keyboard_mapper( + &mut state, + keyboard_layout, + depressed_layout, + latched_layout, + locked_layout, + ); } Event::XkbStateNotify(event) => { let mut state = self.0.borrow_mut();