From 77d60420680c065b7ed54e8348ec6ae4475d7f44 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 11 Sep 2013 03:15:35 -0300 Subject: kdebase-runtime-libre-4.11.1-2: fix Minimize/maximize by clicking taskbar entries requires double click * See https://bugs.archlinux.org/task/36854 --- libre/kdebase-runtime-libre/PKGBUILD | 9 ++++- libre/kdebase-runtime-libre/kdebug-324470.patch | 49 +++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 libre/kdebase-runtime-libre/kdebug-324470.patch (limited to 'libre/kdebase-runtime-libre') diff --git a/libre/kdebase-runtime-libre/PKGBUILD b/libre/kdebase-runtime-libre/PKGBUILD index cbf4c385f..a27f22dcf 100644 --- a/libre/kdebase-runtime-libre/PKGBUILD +++ b/libre/kdebase-runtime-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 194033 2013-09-10 12:51:41Z andrea $ +# $Id: PKGBUILD 194219 2013-09-10 22:35:14Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz # Maintainer (Parabola): André Silva @@ -6,7 +6,7 @@ _pkgname=kdebase-runtime pkgname=kdebase-runtime-libre pkgver=4.11.1 -pkgrel=1 +pkgrel=2 pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search providers" arch=('i686' 'x86_64' 'mips64el') url='https://projects.kde.org/projects/kde/kde-runtime' @@ -24,14 +24,19 @@ optdepends=('kdepimlibs: needed by DrKonqi to send crash reports to KDE.org' 'rarian: needed by KHelpCenter') install="${_pkgname}.install" source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz" + 'kdebug-324470.patch' 'duckduckgo_html.desktop' 'duckduckgo_lite.desktop') sha1sums=('3457ffdbd1921bc6bc78cd8a9a463822d515b079' + '80db2d34f9e62dbea5d7e94b7bef93d2cf46f6d7' 'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd' 'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b') prepare() { mkdir build + + cd kde-runtime-${pkgver} + patch -p1 -i "${srcdir}"/kdebug-324470.patch } build() { diff --git a/libre/kdebase-runtime-libre/kdebug-324470.patch b/libre/kdebase-runtime-libre/kdebug-324470.patch new file mode 100644 index 000000000..4269df829 --- /dev/null +++ b/libre/kdebase-runtime-libre/kdebug-324470.patch @@ -0,0 +1,49 @@ +commit be1a5d484c70f4f6a383150810afbfbb367db2ac +Author: Eike Hein +Date: Tue Sep 3 20:29:23 2013 +0200 + + Discard the recorded events in the item-local handlers. + + Solves problems with identical events being ignored due to + QGraphicsView's reuse of QGraphicsSceneMouseEvent instances. + + CCMAIL:rdieter@fedoraproject.org + BUG:324470 + BUG:324471 + +diff --git a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp +index b534845..36530e0 100644 +--- a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp ++++ b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp +@@ -90,6 +90,7 @@ bool MouseEventListener::containsMouse() const + void MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me) + { + if (m_lastEvent == me) { ++ m_lastEvent = 0; + return; + } + +@@ -112,6 +113,7 @@ void MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me) + void MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me) + { + if (m_lastEvent == me) { ++ m_lastEvent = 0; + return; + } + +@@ -122,6 +124,7 @@ void MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me) + void MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me) + { + if (m_lastEvent == me) { ++ m_lastEvent = 0; + return; + } + +@@ -138,6 +141,7 @@ void MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me) + void MouseEventListener::wheelEvent(QGraphicsSceneWheelEvent *we) + { + if (m_lastEvent == we) { ++ m_lastEvent = 0; + return; + } + -- cgit v1.2.3-54-g00ecf