aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authortiosgz <alamica@protonmail.com>2022-05-29 19:59:41 +0000
committerIsaac Freund <mail@isaacfreund.com>2022-05-29 23:12:21 +0200
commit1e3b8ed16149e8e83d88cbc187b9aee3f5d6812a (patch)
treefca41da67743034c8465dc39837b8166da9257f2 /build.zig
parent6d6646febee1fda409b248e88ce9070e72bde5d3 (diff)
downloadriver-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 'build.zig')
0 files changed, 0 insertions, 0 deletions