mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-22 06:46:49 -04:00
input: inhibit mouse events to client when a binding has consumed it
This introduces a new state to a seat's mouse struct, 'consumed'. It is set on a mouse *press* event that is claimed by a mouse binding. It is cleared after a mouse *release* event. While set, *no* mouse motion or button events are sent to the client application.
This commit is contained in:
parent
11cb08f1b5
commit
3ddc17937f
3 changed files with 62 additions and 36 deletions
|
|
@ -82,6 +82,8 @@
|
|||
content (https://codeberg.org/dnkl/foot/issues/94).
|
||||
* Extra newlines when copying empty cells
|
||||
(https://codeberg.org/dnkl/foot/issues/97).
|
||||
* Mouse events from being sent to client application when a mouse
|
||||
binding has consumed it.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue