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

Follow up #2000 #2015

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Follow up #2000 #2015

merged 1 commit into from
Aug 2, 2024

Conversation

amosbird
Copy link
Contributor

@amosbird amosbird commented Aug 2, 2024

Address #2000 (comment)

It seems we can work around the limitation of XCB XIM by introducing a short sleep before forwarding the release event of modifier keys. This change should enable all modifier keys to function correctly with the input method.

@DaveDavenport, could you please test this solution again? I believe it will also resolve the ctrl-u issue you experienced earlier.
@xsy420, could you please check if this fix works for you as well?

@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Aug 2, 2024

both switching with left shift and ctrl-u seems to work for me. Thanks!

(odd/shame we need a 5ms timeout.. )

@amosbird
Copy link
Contributor Author

amosbird commented Aug 2, 2024

both switching with left shift and ctrl-u seems to work for me. Thanks!

(odd/shame we need a 5ms timeout.. )

Yeah. I suppose it's related to some packet coalescing issue. Fortunately, we only need to delay for the release of modifiers, which should have minimal impact.

@xsy420
Copy link

xsy420 commented Aug 2, 2024

yeah, it works for me

@DaveDavenport DaveDavenport merged commit 558ab34 into davatorium:next Aug 2, 2024
8 checks passed
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.

3 participants