diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-11 03:15:35 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-11 03:15:35 -0300 |
commit | 77d60420680c065b7ed54e8348ec6ae4475d7f44 (patch) | |
tree | 4241943ff8f0b05765ae8d774aab19f60d915065 /libre/kdebase-runtime-libre/kdebug-324470.patch | |
parent | 3cfc136cb9eb9c7d9057c3f9f80d0431dc211720 (diff) | |
download | abslibre-77d60420680c065b7ed54e8348ec6ae4475d7f44.tar.gz abslibre-77d60420680c065b7ed54e8348ec6ae4475d7f44.tar.bz2 abslibre-77d60420680c065b7ed54e8348ec6ae4475d7f44.zip |
kdebase-runtime-libre-4.11.1-2: fix Minimize/maximize by clicking taskbar entries requires double click
* See https://bugs.archlinux.org/task/36854
Diffstat (limited to 'libre/kdebase-runtime-libre/kdebug-324470.patch')
-rw-r--r-- | libre/kdebase-runtime-libre/kdebug-324470.patch | 49 |
1 files changed, 49 insertions, 0 deletions
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 <hein@kde.org> +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; + } + |