blob: 0fbb74fed0bcf5691c0d15e411e51469bfe0910c (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From a9acef8573ca44ce9649a6ced42e19ef6d4ee3fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Patron?= <priv.luk@gmail.com>
Date: Thu, 27 Oct 2022 00:42:24 +0200
Subject: [PATCH] x11: Don't force QT_QPA_PLATFORM=xcb
This is basically a cherry pick of 77ec43d5e (Don't force
QT_QPA_PLATFORM=wayland), except for X11.
---
src/main_x11.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main_x11.cpp b/src/main_x11.cpp
index bb722bf5d8..66e0341f1c 100644
--- a/src/main_x11.cpp
+++ b/src/main_x11.cpp
@@ -362,6 +362,8 @@ int main(int argc, char *argv[])
KWin::ApplicationX11 a(argc, argv);
a.setupTranslator();
+ // reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
+ qunsetenv("QT_QPA_PLATFORM");
KSignalHandler::self()->watchSignal(SIGTERM);
KSignalHandler::self()->watchSignal(SIGINT);
--
GitLab
|