mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
When starting an X server from a terminal running inside another X server, the "host" X server sees the key press event, but not the key release event, and misinterprets this as a long keypress. With this patch, we forge the missing key release event, so the server doesn't think that the user is holding a key down. This is different from Ctrl + Alt + F* vt switching, because there we don't want the X server to see the key press event at all, and we want to forge key release events for the Ctrl + Alt keys. Signed-off-by: stefan11111 <stefan11111@shitposting.expert>