From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3D9F139695 for ; Sat, 15 Apr 2017 15:11:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D83BE0BF1; Sat, 15 Apr 2017 15:11:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4099BE0BF1 for ; Sat, 15 Apr 2017 15:11:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 954C634106E for ; Sat, 15 Apr 2017 15:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEF327431 for ; Sat, 15 Apr 2017 15:11:35 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1492269082.301c2e6d2d322f3f38377fe20f94d55c849a5f37.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwin/, kde-plasma/kwin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kwin/files/kwin-5.9.4-glconfig.patch kde-plasma/kwin/kwin-5.9.4-r1.ebuild X-VCS-Directories: kde-plasma/kwin/ kde-plasma/kwin/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 301c2e6d2d322f3f38377fe20f94d55c849a5f37 X-VCS-Branch: master Date: Sat, 15 Apr 2017 15:11:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bfa0b2f4-2586-4e58-9817-4188912c4620 X-Archives-Hash: f9cff3a0fb6cef58a41f3a271071fd72 commit: 301c2e6d2d322f3f38377fe20f94d55c849a5f37 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 15 12:11:35 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Apr 15 15:11:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301c2e6d kde-plasma/kwin: Do not write GLPlatformInterface config Changing compositor settings in Wayland shall not break X11 sessions. Package-Manager: Portage-2.3.3, Repoman-2.3.1 kde-plasma/kwin/files/kwin-5.9.4-glconfig.patch | 37 +++++++++++++++++++++++++ kde-plasma/kwin/kwin-5.9.4-r1.ebuild | 5 +++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/kde-plasma/kwin/files/kwin-5.9.4-glconfig.patch b/kde-plasma/kwin/files/kwin-5.9.4-glconfig.patch new file mode 100644 index 00000000000..90a746e8f28 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.9.4-glconfig.patch @@ -0,0 +1,37 @@ +commit a936516107579df13362f6d2d6f91f26a447d6dd +Author: Martin Gräßlin +Date: Mon Apr 3 06:53:05 2017 +0200 + + [kcmkwin/compositing] Do not write GLPlatformInterface config + + Summary: + The gui element to select the platform interface is dropped. Thus we + should not store the config for it. This is rather important as changing + compositor settings on Wayland would result in egl being written into the + config which potentially breaks an X11 session. + + BUG: 378114 + + Reviewers: #kwin, #plasma + + Subscribers: plasma-devel, kwin + + Tags: #kwin + + Differential Revision: https://phabricator.kde.org/D5285 + +diff --git a/kcmkwin/kwincompositing/compositing.cpp b/kcmkwin/kwincompositing/compositing.cpp +index c1cddb89d..102dfd18c 100644 +--- a/kcmkwin/kwincompositing/compositing.cpp ++++ b/kcmkwin/kwincompositing/compositing.cpp +@@ -309,10 +309,6 @@ void Compositing::save() + } + kwinConfig.writeEntry("Backend", backend); + kwinConfig.writeEntry("GLCore", glCore); +- const QModelIndex glIndex = m_openGLPlatformInterfaceModel->index(m_openGLPlatformInterface); +- if (glIndex.isValid()) { +- kwinConfig.writeEntry("GLPlatformInterface", glIndex.data(Qt::UserRole).toString()); +- } + if (!compositingRequired()) { + kwinConfig.writeEntry("WindowsBlockCompositing", windowsBlockCompositing()); + } diff --git a/kde-plasma/kwin/kwin-5.9.4-r1.ebuild b/kde-plasma/kwin/kwin-5.9.4-r1.ebuild index dad7f6668cc..545e43d5dfe 100644 --- a/kde-plasma/kwin/kwin-5.9.4-r1.ebuild +++ b/kde-plasma/kwin/kwin-5.9.4-r1.ebuild @@ -88,7 +88,10 @@ DEPEND="${COMMON_DEPEND} RESTRICT+=" test" -PATCHES=( "${FILESDIR}/${PN}-5.8.6-libdrm-2.4.78.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-5.8.6-libdrm-2.4.78.patch" + "${FILESDIR}/${P}-glconfig.patch" +) src_prepare() { kde5_src_prepare