diff --git a/krunner/main.cpp b/krunner/main.cpp index a05402a01..f19382cad 100644 --- a/krunner/main.cpp +++ b/krunner/main.cpp @@ -34,6 +34,7 @@ int main(int argc, char **argv) QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); } + qputenv("QT_WAYLAND_DISABLE_FIXED_POSITIONS", {}); const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM"); KWorkSpace::detectPlatform(argc, argv); QQuickWindow::setDefaultAlphaBuffer(true); @@ -42,6 +43,7 @@ int main(int argc, char **argv) // don't leak the env variable to processes we start qunsetenv("QT_QPA_PLATFORM"); } + qunsetenv("QT_WAYLAND_DISABLE_FIXED_POSITIONS"); KLocalizedString::setApplicationDomain("krunner"); // TODO: Make it a QGuiApplication once we don't depend on KDELibs4Support diff --git a/shell/main.cpp b/shell/main.cpp index 26e4ecede..147483df4 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -79,6 +79,7 @@ int main(int argc, char *argv[]) oldCategoryFilter = QLoggingCategory::installFilter(filterConnectionSyntaxWarning); + qputenv("QT_WAYLAND_DISABLE_FIXED_POSITIONS", {}); const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM"); KWorkSpace::detectPlatform(argc, argv); QApplication app(argc, argv); @@ -86,6 +87,8 @@ int main(int argc, char *argv[]) // don't leak the env variable to processes we start qunsetenv("QT_QPA_PLATFORM"); } + qunsetenv("QT_WAYLAND_DISABLE_FIXED_POSITIONS"); + KLocalizedString::setApplicationDomain("plasmashell"); // The executable's path is added to the library/plugin paths.