diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-11-19 13:43:32 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-11-19 13:45:38 +0200 |
commit | 86b5396d896a747495721d9c00670a039b704d18 (patch) | |
tree | fee4d8d9cb2fff1b44bdc41335c127eec5e9f98c /src/compositor.h | |
parent | f5ef88ff6088ed03bf13bb052dda615c8623609e (diff) | |
download | weston-86b5396d896a747495721d9c00670a039b704d18.tar.gz |
Revert "input: don't send to clients key events eaten by bindings"
This reverts commit 5c11fc6fb7d9b1bccd50fc982c0798c9e09a2a04.
According to two input specialists, this was the wrong way:
http://lists.freedesktop.org/archives/wayland-devel/2014-November/018287.html
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Cc: Daniel Stone <daniel@fooishbar.org>
Cc: Giulio Camuffo <giuliocamuffo@gmail.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src/compositor.h')
-rw-r--r-- | src/compositor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compositor.h b/src/compositor.h index e936edad..002816e9 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -473,7 +473,6 @@ struct weston_keyboard { uint32_t grab_time; struct wl_array keys; - struct wl_array eaten_keys; struct { uint32_t mods_depressed; @@ -1147,7 +1146,7 @@ weston_binding_destroy(struct weston_binding *binding); void weston_binding_list_destroy_all(struct wl_list *list); -int +void weston_compositor_run_key_binding(struct weston_compositor *compositor, struct weston_seat *seat, uint32_t time, uint32_t key, |