mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
backends: use the enum name instead of a literal 0
No functional change. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1144
This commit is contained in:
parent
41130b08eb
commit
7fa7c2aeb7
@ -111,7 +111,7 @@ meta_keymap_native_init (MetaKeymapNative *keymap)
|
||||
names.variant = option_xkb_variant;
|
||||
names.options = option_xkb_options;
|
||||
|
||||
ctx = xkb_context_new (0);
|
||||
ctx = xkb_context_new (XKB_CONTEXT_NO_FLAGS);
|
||||
g_assert (ctx);
|
||||
keymap->keymap = xkb_keymap_new_from_names (ctx, &names, 0);
|
||||
xkb_context_unref (ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user