wayland: always update selected entry on mouse click and motion events
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Before this patch, we tracked the last hovered entry in the seat struct. Then, when clicking, we checked if we clicked the same entry, then execute the selected entry. The problem is the *selected* entry may be another entry, if the selection was moved with the keyboard, after hovering it.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent a16822a · Browse files · 3 files+8 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+8 added−11 removed
- other:+8 added−11 removed