summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-15 15:25:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-15 18:37:39 +0100
commit952ce9a0b17778e2341199167661a106eb073665 (patch)
tree7ff6a13691322cb2dc2665645daed279d849406f /media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch
parentkde-apps/libksieve: Fix build with Qt 5.14.0_beta3 (diff)
downloadgentoo-952ce9a0b17778e2341199167661a106eb073665.tar.gz
gentoo-952ce9a0b17778e2341199167661a106eb073665.tar.bz2
gentoo-952ce9a0b17778e2341199167661a106eb073665.zip
media-gfx/krita: Drop 4.1.8-r1
Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch')
-rw-r--r--media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch b/media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch
deleted file mode 100644
index 2928247e57a..00000000000
--- a/media-gfx/krita/files/krita-4.1.8-fix-pre-5.12-tablet-support.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 0218025b1725aa810f108d08802b590ce62f1044 Mon Sep 17 00:00:00 2001
-From: Dmitry Kazakov <dimula73@gmail.com>
-Date: Mon, 25 Mar 2019 21:16:41 +0300
-Subject: Add a workaround for Qt 5.9...5.11.X to fix tablet support
-
-Basically, the patch mimics this Qt's patch that has been
-added in Qt 5.12.0 only:
-https://codereview.qt-project.org/#/c/239918/
-
-BUG:399696
----
- libs/ui/input/kis_input_manager_p.cpp | 22 ++++++++++++++++++++++
- 1 file changed, 22 insertions(+)
-
-diff --git a/libs/ui/input/kis_input_manager_p.cpp b/libs/ui/input/kis_input_manager_p.cpp
-index 4f5a58f..0a26655 100644
---- a/libs/ui/input/kis_input_manager_p.cpp
-+++ b/libs/ui/input/kis_input_manager_p.cpp
-@@ -333,6 +333,28 @@ KisInputManager::Private::ProximityNotifier::ProximityNotifier(KisInputManager::
-
- bool KisInputManager::Private::ProximityNotifier::eventFilter(QObject* object, QEvent* event )
- {
-+ /**
-+ * All Qt builds in range 5.7.0...5.11.X on X11 had a problem that made all
-+ * the tablet events be accepted by default. It meant that no mouse
-+ * events were synthesized, and, therefore, no Enter/Leave were generated.
-+ *
-+ * The fix for this bug has been added only in Qt 5.12.0:
-+ * https://codereview.qt-project.org/#/c/239918/
-+ *
-+ * To avoid this problem we should explicitly ignore all the tablet events.
-+ */
-+#if defined Q_OS_LINUX && \
-+ QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) && \
-+ QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
-+
-+ if (event->type() == QEvent::TabletMove ||
-+ event->type() == QEvent::TabletPress ||
-+ event->type() == QEvent::TabletRelease) {
-+
-+ event->ignore();
-+ }
-+#endif
-+
- switch (event->type()) {
- case QEvent::TabletEnterProximity:
- d->debugEvent<QEvent, false>(event);
---
-cgit v1.1