wlroots
wlroots copied to clipboard
Cleanup pressed keys when keyboard disappears
- Create a script that
chvt 2; sleep 5; chvt 1 - Run it as root on tty in a wlroots compositor, press the key slowly (so that it's still pressed when the VT switch happens)
- wlroots removes the input device, but the key is still pressed from the clients' POV
- Because of key repeat, a lot of newline characters appear in the terminal
wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1630