Skip to content

evdev: Log bug when releasing key with count 0

José Expósito requested to merge jexposit/libinput:issue-928 into main

libinput keeps an internal key count. It is increased by 1 when the key is pressed and decreased by one when the key is released.

The count should never be negative, however a user found an issue while running Sway and hit an assert.

Replace the assert with a log to avoid the crash.

Fix #928 (closed)

Merge request reports