summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-07-26 14:23:54 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-08-01 15:13:39 +0000
commite5c06f877e118db2c27d5faadc3bce73e005c3cb (patch)
tree65da3ecfed77c27a853ccc5f2cdcba6dfe50166b /recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch
parent70ac3393d677da85aeab2a208ece874f13eb0e60 (diff)
qtwayland: Clean-up and adapt inputContext() patch
This cleans up all qtwayland patches that haven't been used in quite some time and adapts a slightly recent patch that provided a work-around to enable Qt debugging (using QT_LOGGING_RULES), which a qtwayland update made it so the patch wouldn't apply anymore. Bug-AGL: SPEC-4770 Change-Id: Ie24b4dff51500a9ab85635768045b2ee0c29bd0a Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch')
-rw-r--r--recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch b/recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch
deleted file mode 100644
index 2d578e3b0..000000000
--- a/recipes-qt/qt/qtwayland/0001-client-qwaylandintegration-Do-not-attempt-to-use-the.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 0c8212273ac0fcd8cd954bd43075901a80ab3476 Mon Sep 17 00:00:00 2001
-From: Marius Vlad <marius.vlad@collabora.com>
-Date: Fri, 29 Jan 2021 12:31:19 +0200
-Subject: [PATCH] client/qwaylandintegration: Do not attempt to use the
- inputContext()
-
-We assume loading the platforminputcompose library no matter what, but
-in case that doesn't happen (the library effectively not found), no necessary
-checks are made in order to make sure that indeed succeed.
-
-This patch mitigates that, and with it, it allows to use the QT_LOGGING_RULES,
-which is used to trigger the issue.
-
-Bug-AGL: SPEC-3359
-
-Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
----
- src/client/qwaylandintegration.cpp | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp
-index f6a80e18..5568485c 100644
---- a/src/client/qwaylandintegration.cpp
-+++ b/src/client/qwaylandintegration.cpp
-@@ -503,7 +503,8 @@ void QWaylandIntegration::reconfigureInputContext()
- // is why we need to check here which input context actually is being used.
- mDisplay->mUsingInputContextFromCompositor = qobject_cast<QWaylandInputContext *>(mInputContext.data());
-
-- qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className();
-+ if (mDisplay->mUsingInputContextFromCompositor)
-+ qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className();
- }
-
- QWaylandShellIntegration *QWaylandIntegration::createShellIntegration(const QString &integrationName)
---
-2.28.0
-