debug: add keystroke tracing for space forwarding in grab mode
Some checks are pending
Build & Release / Build & test (push) Waiting to run
Build & Release / Build .deb (push) Blocked by required conditions

This commit is contained in:
Khoa Vo 2026-07-01 15:31:56 +07:00
parent e7b7864937
commit ffd0bc26c8

View file

@ -1254,6 +1254,7 @@ fn run_with_evdev(
consumed_keys.remove(&keycode);
}
if let Some(mut ch) = key_to_char(key) {
eprintln!("[debug] key={} ch='{}' val={} buf={}", keycode, ch, value, daemon.engine.buffer().chars().count());
// Window change detection: only on character key presses.
// Modifier keys (Ctrl, Alt, Super) skip this block, so
// last_key_time is preserved across Alt+Tab sequences.