Lines Matching defs:x11_variant
90 char *x11_variant;
113 c->x11_variant = mfree(c->x11_variant);
238 p = &c->x11_variant;
442 isempty(c->x11_variant) &&
471 if (!isempty(c->x11_variant))
472 fprintf(f, " Option \"XkbVariant\" \"%s\"\n", c->x11_variant);
578 !isempty(c->x11_variant) ||
605 !streq_ptr(c->x11_variant, strnulldash(a[3])) ||
610 free_and_strdup(&c->x11_variant, strnulldash(a[3])) < 0 ||
631 strempty(c->x11_variant),
644 static int find_converted_keymap(const char *x11_layout, const char *x11_variant, char **new_keymap) {
648 if (x11_variant)
649 n = strjoin(x11_layout, "-", x11_variant, NULL);
723 if (streq_ptr(c->x11_variant, a[3])) {
755 if (c->x11_variant)
756 v = strndupa(c->x11_variant, strcspn(c->x11_variant, ","));
814 r = find_converted_keymap(c->x11_layout, c->x11_variant, &new_keymap);
1179 !streq_ptr(variant, c->x11_variant) ||
1211 free_and_strdup(&c->x11_variant, variant) < 0 ||
1224 strempty(c->x11_variant),
1248 SD_BUS_PROPERTY("X11Variant", "s", NULL, offsetof(Context, x11_variant), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),