diff options
author | Takao Fujiwara <tfujiwar@redhat.com> | 2022-09-16 17:01:15 +0900 |
---|---|---|
committer | Peng Wu <pwu@redhat.com> | 2022-11-11 17:35:40 +0800 |
commit | 705dd2553695e47b638cb79d52cfbff03136b227 (patch) | |
tree | 23141a563c6d6f7114287c857724b5dbbb4259d7 | |
parent | 24bf7fc540c9b19bddeeb52e66aeb6140726beb2 (diff) | |
download | ibus-hangul-705dd2553695e47b638cb79d52cfbff03136b227.tar.gz |
Change the definition of IBUS_CAP_SYNC_PROCESS_KEY
After the new proces key event is integrated in ibus-x11,
IBUS_CAP_SYNC_PROCESS_KEY capability is now set the sync mode only
since ibus-hangul requires forward-key-event for the sync mode only.
-rw-r--r-- | src/engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.c b/src/engine.c index beb85ae..3db22fb 100644 --- a/src/engine.c +++ b/src/engine.c @@ -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) { |