Change summary
crates/gpui/src/platform/linux/wayland/client.rs | 2 ++
1 file changed, 2 insertions(+)
Detailed changes
@@ -1295,6 +1295,7 @@ impl Dispatch<wl_keyboard::WlKeyboard, ()> for WaylandClientStatePtr {
state: WEnum::Value(key_state),
..
} => {
+ println!("\n==> Wayland Key event: {:#?}", key_state);
state.serial_tracker.update(SerialKind::KeyPress, serial);
let focused_window = state.keyboard_focused_window.clone();
@@ -1308,6 +1309,7 @@ impl Dispatch<wl_keyboard::WlKeyboard, ()> for WaylandClientStatePtr {
let keycode = Keycode::from(key + MIN_KEYCODE);
let keysym = keymap_state.key_get_one_sym(keycode);
+ println!("is modifier key: {}", keysym.is_modifier_key());
match key_state {
wl_keyboard::KeyState::Pressed if !keysym.is_modifier_key() => {
let mut keystroke = Keystroke::from_xkb(