diff options
author | Giovanni Campagna <gcampagn@redhat.com> | 2013-08-09 17:28:41 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagn@redhat.com> | 2013-08-30 10:37:25 +0200 |
commit | 59b274f12f9732aa14526f6218a5ad2fedcc0bac (patch) | |
tree | 60103c1ca3df47722f9c7b1839cbfe24ea79a5e3 /src/wayland/meta-wayland-keyboard.h | |
parent | e311cef0135b63ee709c754d89b749e8474a186c (diff) | |
download | mutter-59b274f12f9732aa14526f6218a5ad2fedcc0bac.tar.gz |
MetaWaylandKeyboard: use the new clutter-evdev support for xkbcommon
We need to track the full xkb_state to have the necessary information
to send to the clients, otherwise they may get confused and lock
or invert the modifiers. In the evdev backend, we just retrieve the
same state object that clutter is using, while in the other backends
we fake the state using what clutter is providing (which is a subset
of what X11 provides, which would be necessary to have full state)
https://bugzilla.gnome.org/show_bug.cgi?id=705862
Diffstat (limited to 'src/wayland/meta-wayland-keyboard.h')
-rw-r--r-- | src/wayland/meta-wayland-keyboard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-keyboard.h b/src/wayland/meta-wayland-keyboard.h index fd0d0b3c0..e092366b9 100644 --- a/src/wayland/meta-wayland-keyboard.h +++ b/src/wayland/meta-wayland-keyboard.h @@ -52,7 +52,8 @@ gboolean meta_wayland_keyboard_init (MetaWaylandKeyboard *keyboard, - struct wl_display *display); + struct wl_display *display, + gboolean is_evdev); void meta_wayland_keyboard_handle_event (MetaWaylandKeyboard *keyboard, |