Revert "TextInputV3: Prevent a recursive update call"

This reverts commit 0b1d950e437bd0e112b7f4f25b42f3318634200a.

set_cursor_rectangle needs commit for the proper cursor location.

Fixes: QTBUG-129584
Reopens: QTBUG-126275
Pick-to: 6.8 6.7
Change-Id: Ibb11cbceab9cf00a4a2fa5ed3efc5e4ddddcd8d7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Inho Lee 2024-10-03 09:48:20 +02:00
parent 444e334265
commit 41d4948606

View File

@ -238,6 +238,7 @@ void QWaylandTextInputv3::updateState(Qt::InputMethodQueries queries, uint32_t f
if (surfaceRect != m_cursorRect) {
set_cursor_rectangle(surfaceRect.x(), surfaceRect.y(), surfaceRect.width(), surfaceRect.height());
m_cursorRect = surfaceRect;
needsCommit = true;
}
}