Commit b75f2119 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

startplasma-wayland: Fix XKB variable setup

When this was ported to C++, it missed the actual variable assignments.


(cherry picked from commit 76088e21)
parent 13057013
......@@ -60,10 +60,10 @@ int main(int argc, char** argv)
qputenv(var, r.toUtf8());
};
queryAndSet("X11MODEL", QStringLiteral("X11Model"));
queryAndSet("X11LAYOUT", QStringLiteral("X11Layout"));
queryAndSet("X11VARIANT", QStringLiteral("X11Variant"));
queryAndSet("X11OPTIONS", QStringLiteral("X11Options"));
queryAndSet("XKB_DEFAULT_MODEL", QStringLiteral("X11Model"));
queryAndSet("XKB_DEFAULT_LAYOUT", QStringLiteral("X11Layout"));
queryAndSet("XKB_DEFAULT_VARIANT", QStringLiteral("X11Variant"));
queryAndSet("XKB_DEFAULT_OPTIONS", QStringLiteral("X11Options"));
} else {
qWarning() << "not a reply org.freedesktop.locale1" << resultMessage;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment