2019-02-06 18:16:42 +00:00
|
|
|
From 6de8c88ad78bb5b3d6e599b7dacd1b2359cf4fbb Mon Sep 17 00:00:00 2001
|
|
|
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
|
|
|
Date: Sat, 24 Mar 2018 12:15:10 +0100
|
|
|
|
Subject: [PATCH] Set GTK_BACKEND=x11 in a wayland session
|
|
|
|
|
|
|
|
Works around missing window decorations and broken config file reading.
|
|
|
|
---
|
|
|
|
startkde/startplasmacompositor.cmake | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
2019-03-22 14:38:44 +00:00
|
|
|
Index: plasma-workspace-5.15.3/startkde/startplasmacompositor.cmake
|
|
|
|
===================================================================
|
|
|
|
--- plasma-workspace-5.15.3.orig/startkde/startplasmacompositor.cmake
|
|
|
|
+++ plasma-workspace-5.15.3/startkde/startplasmacompositor.cmake
|
|
|
|
@@ -118,6 +118,10 @@ else
|
|
|
|
export QT_WAYLAND_FORCE_DPI=96
|
2019-02-06 18:16:42 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
+# GTK3 uses the wayland backend by default, but its implementation is not correct
|
|
|
|
+# enough to work well here. Window decorations are missing, for instance.
|
|
|
|
+export GDK_BACKEND=x11
|
|
|
|
+
|
2019-03-22 14:38:44 +00:00
|
|
|
# Get a property value from org.freedesktop.locale1
|
|
|
|
queryLocale1() {
|
|
|
|
qdbus-qt5 --system org.freedesktop.locale1 /org/freedesktop/locale1 "$1"
|