You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicated keyboard events with dead keys in X11 #107
This issue seems to be related to XFilterEvent which is called in the code but doesn't really do anything. Checking the return value and returning early if it's non-zero seems to fix this issue.
Activity
Auto merge of rust-windowing#107 - larsbergstrom:update_from_upstream…
wengxt commentedon Apr 5, 2017
Not checking the return value XFilterEvent is one issue, but the timing is also wrong.
To support input method and compose correctly, the XFilterEvent should be called immediately after XNextEvent, and check the return value there.
https://github.com/tomaka/winit/blob/master/src/platform/linux/x11/window.rs#L176
XFilterEvent should be called right here.
I used to fix input method bug in some other Xlib app, for more details just check the comment I added in following links.
http://git.suckless.org/st/commit/?id=5f48e89716a74e75b6040fdb067372180626b699