clutter: Move keymap direction from ClutterBackend to ClutterKeymap

This makes more sense to have in the ClutterKeymap, since we have it.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/852
This commit is contained in:
Carlos Garnacho
2019-10-01 13:51:12 +02:00
parent 5bb3d86884
commit 9aba37f70f
9 changed files with 48 additions and 53 deletions

View File

@ -82,6 +82,12 @@ meta_keymap_native_get_caps_lock_state (ClutterKeymap *keymap)
XKB_STATE_MODS_LOCKED);
}
static PangoDirection
meta_keymap_native_get_direction (ClutterKeymap *keymap)
{
return PANGO_DIRECTION_NEUTRAL;
}
static void
meta_keymap_native_class_init (MetaKeymapNativeClass *klass)
{
@ -92,6 +98,7 @@ meta_keymap_native_class_init (MetaKeymapNativeClass *klass)
keymap_class->get_num_lock_state = meta_keymap_native_get_num_lock_state;
keymap_class->get_caps_lock_state = meta_keymap_native_get_caps_lock_state;
keymap_class->get_direction = meta_keymap_native_get_direction;
}
static void