diff options
author | Inho Lee <inho.lee@qt.io> | 2024-01-24 11:33:32 +0100 |
---|---|---|
committer | Inho Lee <inho.lee@qt.io> | 2024-03-19 10:22:09 +0100 |
commit | e6f04ce6c1849009bcdc382e7e1da62afee029c8 (patch) | |
tree | 40925b0d3545b2d30fe0d263770c955898145663 /src/client | |
parent | c33b0ac7c086246414bfba5cb6b47de54b38f5f6 (diff) |
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 <liang.qi@qt.io>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Weng Xuetian <wengxt@gmail.com>
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/qwaylandtextinputv3.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/qwaylandtextinputv3.cpp b/src/client/qwaylandtextinputv3.cpp index 48f882feb..017456ac2 100644 --- a/src/client/qwaylandtextinputv3.cpp +++ b/src/client/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"; |