Skip to content

seat/pointer: reset pressed buttons on focus change

Kirill Primak requested to merge vyivel/wlroots:no-buttons-after-leave into master

This fixes two problems:

  • A surface could get unexpected release events for buttons pressed while other surface was focused;
  • Clearing focus while a button is pressed would lead to the button getting "stuck".

Fixes: 8730ca96


Also see wayland/wayland#280.

A proper solution would be introducing something like wayland/wayland!406 but for pointer.

Merge request reports

Loading