No functional changes, this is cosmetics only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
return NULL;
}
- d->xkb_context = xkb_context_new(0);
+ d->xkb_context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
if (d->xkb_context == NULL) {
fprintf(stderr, "Failed to create XKB context\n");
free(d);
struct xkb_rule_names *names)
{
if (ec->xkb_context == NULL) {
- ec->xkb_context = xkb_context_new(0);
+ ec->xkb_context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
if (ec->xkb_context == NULL) {
weston_log("failed to create XKB context\n");
return -1;