Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input method: update input method popup positions on text input commit #2479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lilydjwg
Copy link
Contributor

@lilydjwg lilydjwg commented Oct 2, 2024

A text input commit may come with a set_cursor_rectangle request, and we need to update the input method popup to follow the text cursor on the client side.

Previously we run the update on popup surface commit, but events may come out of order, i.e. the input method draws a new surface buffer as soon as it commits the input string, and then the client window will take some time to process the committed string and figure out the new position of cursor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants