diff options
| author | tiosgz <alamica@protonmail.com> | 2022-05-29 19:59:41 +0000 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-05-29 23:12:21 +0200 |
| commit | 1e3b8ed16149e8e83d88cbc187b9aee3f5d6812a (patch) | |
| tree | fca41da67743034c8465dc39837b8166da9257f2 /protocol/wlr-layer-shell-unstable-v1.xml | |
| parent | 6d6646febee1fda409b248e88ce9070e72bde5d3 (diff) | |
| download | river-1e3b8ed16149e8e83d88cbc187b9aee3f5d6812a.tar.gz river-1e3b8ed16149e8e83d88cbc187b9aee3f5d6812a.tar.xz | |
Seat: avoid leaking eaten keys to client on focus
Until now, Seat.setFocusRaw sent all pressed keys to the client,
including ones that should be eaten. (Try e.g. changing focus to a
nested wlroots compositor with a terminal open to easily see it.)
However, only filtering out the eaten keys is not enough; they were
eaten only once all mappings had been executed. Therefore, the original
function had to be split into one looking up mappings and another
executing them.
Diffstat (limited to 'protocol/wlr-layer-shell-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions
