mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
evdev: Fix use of the common XKB code for the evdev device
In commit 8f4e39b6d7
the Wayland code was updated to use the new
xkbcommon API. This involved changing the common XKB code shared with
the evdev input backend. However the evdev input backend was not
modified so it wouldn't compile. This patch just makes a minor change
to update it.
https://bugzilla.gnome.org/show_bug.cgi?id=693348
This commit is contained in:
parent
3f9ae47029
commit
d0d1b562bd
@ -494,10 +494,10 @@ clutter_event_source_new (ClutterInputDeviceEvdev *input_device)
|
|||||||
if (type == CLUTTER_KEYBOARD_DEVICE)
|
if (type == CLUTTER_KEYBOARD_DEVICE)
|
||||||
{
|
{
|
||||||
/* create the xkb description */
|
/* create the xkb description */
|
||||||
event_source->xkb = _clutter_xkb_desc_new (NULL,
|
event_source->xkb = _clutter_xkb_state_new (NULL,
|
||||||
option_xkb_layout,
|
option_xkb_layout,
|
||||||
option_xkb_variant,
|
option_xkb_variant,
|
||||||
option_xkb_options);
|
option_xkb_options);
|
||||||
if (G_UNLIKELY (event_source->xkb == NULL))
|
if (G_UNLIKELY (event_source->xkb == NULL))
|
||||||
{
|
{
|
||||||
g_warning ("Could not compile keymap %s:%s:%s", option_xkb_layout,
|
g_warning ("Could not compile keymap %s:%s:%s", option_xkb_layout,
|
||||||
|
Loading…
Reference in New Issue
Block a user