Skip to content

backends/native: Unset the correct button codes when a virtual device is destroyed

Carlos Garnacho requested to merge wip/carlosg/release-virtual-buttons into master

We were iterating through evcodes, but using API that expects Clutter button numbers. Instead of transforming those to Clutter numbers to have those translated back, use the inner seat API that already takes evcodes.

Fixes stuck buttons keys after a virtual device is destroyed while those are pressed.

Merge request reports