input: CSD buttons are now triggered when releasing the mouse button

This is how most UIs work.

Note that we (at least on River) don't get any surface enter/leave
events while a button is held. This means we can't detect if the user
pressed the mouse button while on a CSD button, but then moves the
mouse outside. Releasing the mouse button will still activate the CSD
button.

Closes #1787
This commit is contained in:
Daniel Eklöf 2024-08-02 17:12:12 +02:00
parent 803f712332
commit 7ec9ca2b95
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 19 additions and 3 deletions

View file

@ -64,6 +64,11 @@
### Changed
* CSD buttons now activate on mouse button **release**, rather than
press ([#1787][1787]).
### Deprecated
### Removed
### Fixed