Lines Matching refs:x11_layout
57 c->x11_layout = mfree(c->x11_layout); in context_free_x11()
254 p = &c->x11_layout; in x11_read_data()
358 if (isempty(c->x11_layout) && in x11_write_data()
384 if (!isempty(c->x11_layout)) in x11_write_data()
385 fprintf(f, " Option \"XkbLayout\" \"%s\"\n", c->x11_layout); in x11_write_data()
471 !isempty(c->x11_layout) || in vconsole_convert_to_x11()
498 if (!streq_ptr(c->x11_layout, empty_or_dash_to_null(a[1])) || in vconsole_convert_to_x11()
503 … if (free_and_strdup(&c->x11_layout, empty_or_dash_to_null(a[1])) < 0 || in vconsole_convert_to_x11()
518 strempty(c->x11_layout), in vconsole_convert_to_x11()
531 int find_converted_keymap(const char *x11_layout, const char *x11_variant, char **new_keymap) { in find_converted_keymap() argument
536 n = strjoin(x11_layout, "-", x11_variant); in find_converted_keymap()
538 n = strdup(x11_layout); in find_converted_keymap()
572 assert(!isempty(c->x11_layout)); in find_legacy_keymap()
591 if (streq(c->x11_layout, a[1])) in find_legacy_keymap()
598 if (startswith_comma(c->x11_layout, a[1])) in find_legacy_keymap()
606 if (startswith_comma(c->x11_layout, x)) in find_legacy_keymap()
639 if (best_matching < 10 && c->x11_layout) { in find_legacy_keymap()
646 l = strndupa_safe(c->x11_layout, strcspn(c->x11_layout, ",")); in find_legacy_keymap()
696 if (isempty(c->x11_layout)) { in x11_convert_to_vconsole()
706 r = find_converted_keymap(c->x11_layout, c->x11_variant, &new_keymap); in x11_convert_to_vconsole()
719 c->x11_layout); in x11_convert_to_vconsole()