kde-misc/yakuake: Drop wayland fix that broke X
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 17 Oct 2017 23:04:52 +0000 (01:04 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 17 Oct 2017 23:04:52 +0000 (01:04 +0200)
Gentoo-bug: 634416
Package-Manager: Portage-2.3.11, Repoman-2.3.3

kde-misc/yakuake/files/yakuake-3.0.4-wayland.patch [deleted file]
kde-misc/yakuake/yakuake-3.0.4-r2.ebuild [moved from kde-misc/yakuake/yakuake-3.0.4-r1.ebuild with 97% similarity]

diff --git a/kde-misc/yakuake/files/yakuake-3.0.4-wayland.patch b/kde-misc/yakuake/files/yakuake-3.0.4-wayland.patch
deleted file mode 100644 (file)
index cce53b8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 3cdc1d0654dcd8e6eb3fc01d95fcccafe68cbb47 Mon Sep 17 00:00:00 2001
-From: Aleix Pol <aleixpol@kde.org>
-Date: Thu, 12 Oct 2017 18:41:58 +0200
-Subject: Fix (my) yakuake on a wayland session
-
-KWindowSystem::activeWindow and winId are two entirely different things.
-
-Reviewed by Eike
----
- app/mainwindow.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
-index 6fa9160..028bb9c 100644
---- a/app/mainwindow.cpp
-+++ b/app/mainwindow.cpp
-@@ -1023,7 +1023,7 @@ void MainWindow::wmActiveWindowChanged()
-         return;
-     }
--    if (!Settings::keepOpen() && isVisible() && KWindowSystem::activeWindow() != winId()) {
-+    if (!Settings::keepOpen() && hasFocus()) {
-         toggleWindowState();
-     }
- }
--- 
-cgit v0.11.2
-
similarity index 97%
rename from kde-misc/yakuake/yakuake-3.0.4-r1.ebuild
rename to kde-misc/yakuake/yakuake-3.0.4-r2.ebuild
index 937b781bd665fe6feb8f54b56bcdefc8c37c0e99..e82c0cbc12da3c48e8b56af4b6736532574271fb 100644 (file)
@@ -50,5 +50,4 @@ PATCHES=(
        "${FILESDIR}/${P}-qicon.patch"
        "${FILESDIR}/${P}-qt-5.9-wayland.patch"
        "${FILESDIR}/${P}-qdbus-crash.patch"
-       "${FILESDIR}/${P}-wayland.patch"
 )