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

Merged
merged 1 commit into from
Oct 26, 2024

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.

Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now, thanks!

@ammen99 ammen99 merged commit 5653242 into WayfireWM:master Oct 26, 2024
4 checks passed
arpio23 pushed a commit to droidian/wayfire that referenced this pull request Dec 20, 2024
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