From dce4d1a351d45e0cac566d085671e8b61cc927c4 Mon Sep 17 00:00:00 2001 From: Inho Lee Date: Wed, 24 Jan 2024 11:33:32 +0100 Subject: [PATCH] TextInputv3: use a serial for each resource Each zwp_text_input_v3 object should have their own serial number and it will not be cleared on the same object. Pick-to: 6.7 Change-Id: I779c2ae07f1dab1ae4a7d87e4e183ce33ec804fe Reviewed-by: Liang Qi Reviewed-by: David Edmundson Reviewed-by: Weng Xuetian --- src/plugins/platforms/wayland/qwaylandtextinputv3.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylandtextinputv3.cpp b/src/plugins/platforms/wayland/qwaylandtextinputv3.cpp index 48f882febbf..017456ac249 100644 --- a/src/plugins/platforms/wayland/qwaylandtextinputv3.cpp +++ b/src/plugins/platforms/wayland/qwaylandtextinputv3.cpp @@ -67,7 +67,6 @@ void QWaylandTextInputv3::zwp_text_input_v3_leave(struct ::wl_surface *surface) m_currentPreeditString.clear(); m_surface = nullptr; - m_currentSerial = 0U; disable(); qCDebug(qLcQpaWaylandTextInput) << Q_FUNC_INFO << "Done";