Skip to content

Commit

Permalink
Merge pull request #114 from epico/gtk4-sync-v2
Browse files Browse the repository at this point in the history
Change the definition of IBUS_CAP_SYNC_PROCESS_KEY
  • Loading branch information
choehwanjin authored Apr 15, 2023
2 parents 24bf7fc + 705dd25 commit 17fadb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -1578,8 +1578,8 @@ ibus_hangul_engine_process_key_event (IBusEngine *engine,
* See: https://github.com/choehwanjin/ibus-hangul/issues/40
*/
if (use_event_forwarding
#if IBUS_CHECK_VERSION(1, 5, 27)
&& !(hangul->caps & IBUS_CAP_SYNC_PROCESS_KEY)
#if IBUS_CHECK_VERSION(1, 5, 28)
&& (hangul->caps & IBUS_CAP_SYNC_PROCESS_KEY_V2)
#endif
) {
if (!retval) {
Expand Down

0 comments on commit 17fadb6

Please sign in to comment.