2021-03-20 04:20:00 +00:00
|
|
|
From 8d49f5ef8692c352a62f4f8b1bc68e6e210bbee6 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Yaroslav Bolyukin <iam@lach.pw>
|
|
|
|
Date: Wed, 23 Dec 2020 18:02:14 +0300
|
|
|
|
Subject: [PATCH 3/3] plugins/qpa: allow using nixos wrapper
|
|
|
|
|
|
|
|
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
|
|
|
|
---
|
2021-08-05 21:33:18 +00:00
|
|
|
src/plugins/qpa/main.cpp | 2 +-
|
2021-03-20 04:20:00 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
diff --git a/src/plugins/qpa/main.cpp b/src/plugins/qpa/main.cpp
|
2021-03-20 04:20:00 +00:00
|
|
|
index efd236b..a69c046 100644
|
2021-08-05 21:33:18 +00:00
|
|
|
--- a/src/plugins/qpa/main.cpp
|
|
|
|
+++ b/src/plugins/qpa/main.cpp
|
2021-03-20 04:20:00 +00:00
|
|
|
@@ -23,7 +23,7 @@ public:
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList ¶mList)
|
|
|
|
{
|
|
|
|
- if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) {
|
|
|
|
+ if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !QCoreApplication::applicationFilePath().endsWith(QLatin1String(".kwin_wayland-wrapped")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) {
|
|
|
|
// Not KWin
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
--
|
|
|
|
2.29.2
|
|
|
|
|