Skip to content

Commit

Permalink
src: Fix sync ibus_input_context_process_key_event()
Browse files Browse the repository at this point in the history
The synchronous "ProcessKeyEvent" D-Bus method cannot receive
"CommitText" and "ForwardKeyEvent" D-Bus signals during calling the method.
To resolve the issue, now
ibus_input_context_set_post_process_key_event() and
ibus_input_context_post_process_key_event() are added newly.

ibus_input_context_post_process_key_event() retries "CommitText" and
"ForwardKeyEvent" D-Bus signals during calling the "ProcessKeyEvent" D-Bus
method and ibus-daemon does not handle those signals.

"Since: 1.5.00" is added in header files to available APIs before 1.5.29
is released. Will think later how to convert the version comments together
when the new version 1.5.29 is committed.

BUG=#2486
  • Loading branch information
fujiwarat committed Jul 25, 2023
1 parent 7237fcc commit 38f09c6
Show file tree
Hide file tree
Showing 4 changed files with 567 additions and 108 deletions.
Loading

0 comments on commit 38f09c6

Please sign in to comment.