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
Commit 9487b0f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cua-driver): wait for EIS to acknowledge libei input before replying (trycua#4880)
The libei worker replied as soon as input requests were flushed to the
socket. A flush is not delivery: the caller's focus guard could restore
the user's window while the compositor still had the input queued, and
the input then landed in the wrong app.
After each input command, send ei_connection.sync and reply only when
EIS answers its callback, which it does after processing every earlier
request. If no answer comes within 5 s, fail with "delivery is unknown"
instead of reporting success. WaitReady and failed commands reply
immediately as before.
Ported from T3 Code's Linux patch to Cua Driver 0.34.0
(pingdotgg/t3code#16975, MIT, Copyright (c) 2026 T3 Tools Inc.).
Co-authored-by: Claude Opus 5.5 <[email protected]>
0 commit comments