summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2024-01-10 09:38:32 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-10 20:01:41 +0000
commita2b55dd465b973c851e4fdc0bd42758ae93be069 (patch)
tree241b77ccfe927f7db0ea84014b32f5e8fb77fffa
parent60fff186b71d275daf14279de2e7a44353c9ead8 (diff)
compositor: Provide backwards compatiable support for TextInputV4 enum
Support for TextInputV4 was available as an experimental feature that is now dropped due to the upstream V3 catching up. This keeps the exposed but undocumented enum still working with text input features. Change-Id: Ie150c242bbe78a33733fb0187bcbe61050c04346 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit f1f4e26e3b4b022021620ae268fa87788cbfd524) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/compositor/compositor_api/qwaylandclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandclient.h b/src/compositor/compositor_api/qwaylandclient.h
index 22898eb3d..fd6172a4f 100644
--- a/src/compositor/compositor_api/qwaylandclient.h
+++ b/src/compositor/compositor_api/qwaylandclient.h
@@ -41,6 +41,8 @@ public:
TextInputV2 = 2,
TextInputV3 = 4,
+ TextInputV4 = TextInputV3, // TextInputV4 was an experimental API that is now deprecated
+
QtTextInputMethod = QtTextInputMethodV1,
TextInput = TextInputV2
};