]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: cancel key repeat on vt change
authorJohan Malm <jgm323@gmail.com>
Sun, 14 Jan 2024 19:52:43 +0000 (19:52 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 15 Jan 2024 21:56:18 +0000 (21:56 +0000)
commit774eb2170f1130150b22cc852a062c4dfdfa14a2
treed6445eb79ffe15bf9f26c3289f5a28d3bd60c6d7
parente05bedb14071a8263e306798005b74a29d241b8d
keyboard: cancel key repeat on vt change

...(calling `wlr_session_change_vt()`) because when the session is
switched, the access to the keyboard is lost and therefore the RELEASE
event will not be passed to the compositor.

Fixes bug whereby compositor crashes on VT change on FreeBSD.

Fixes #1424
src/input/keyboard.c