osc copypac from project:KDE:Frameworks5 package:plasma5-workspace revision:433

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=435
This commit is contained in:
Fabian Vogt 2019-02-06 18:16:42 +00:00 committed by Git OBS Bridge
parent 03395c2e39
commit de343e86b9
3 changed files with 29 additions and 6 deletions

View File

@ -0,0 +1,28 @@
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(+)
diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake
index dd9e304d..53be3be8 100644
--- a/startkde/startplasmacompositor.cmake
+++ b/startkde/startplasmacompositor.cmake
@@ -174,6 +174,10 @@ XDG_DATA_DIRS="@KDE_INSTALL_FULL_DATADIR@:/usr/share:/usr/local/share"
fi
export XDG_DATA_DIRS
+# 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
+
# Make sure that D-Bus is running
if qdbus-qt5 >/dev/null 2>/dev/null; then
: # ok
--
2.16.2

View File

@ -43,12 +43,6 @@ Wed Nov 28 07:52:49 UTC 2018 - fabian@ritter-vogt.de
* [Baloo Runner] Filter duplicates and prefer specific type matches
* [clipboard] Limit length of clipboard text item visualisation
-------------------------------------------------------------------
Fri Nov 9 13:04:07 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>
- Remove 0001-Set-GTK_BACKEND-x11-in-a-wayland-session.patch:
* GTK handles the CSD protocol properly now
-------------------------------------------------------------------
Tue Nov 6 15:53:52 UTC 2018 - fabian@ritter-vogt.de

View File

@ -46,6 +46,7 @@ Source3: baselibs.conf
Patch501: 0001-Rename-qdbus-in-startkde.patch
# PATCH-FIX-OPENSUSE 0001-Ignore-default-sddm-face-icons.patch boo#1001364 fabian@ritter-vogt.de -- Ignore default sddm face icons
Patch502: 0001-Ignore-default-sddm-face-icons.patch
Patch503: 0001-Set-GTK_BACKEND-x11-in-a-wayland-session.patch
# PATCH-FIX-UPSTREAM (once sddm part merged)
Patch504: 0001-Add-suffix-to-the-wayland-session-s-name.patch
# PATCH-FEATURE-OPENSUSE