Skip to content

Commit

Permalink
Merge pull request #228 from chewing/revert-201
Browse files Browse the repository at this point in the history
Revert "refactor: Clear pre-edit buffer before commit"
  • Loading branch information
kanru authored Aug 19, 2024
2 parents cef6657 + 19e1770 commit 684b044
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: quay.io/fedora/fedora:rawhide
container: quay.io/fedora/fedora:41

steps:
- uses: actions/checkout@v4
Expand All @@ -37,7 +37,7 @@ jobs:
coverage:
runs-on: ubuntu-latest
container: quay.io/fedora/fedora:rawhide
container: quay.io/fedora/fedora:41

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions src/ibus-chewing-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ void ibus_chewing_engine_update(IBusChewingEngine *self) {
g_return_if_fail(IBUS_IS_CHEWING_ENGINE(self));
{
IBUS_CHEWING_LOG(DEBUG, "update() statusFlags=%x", self->statusFlags);
update_pre_edit_text(self);
commit_text(self);
update_pre_edit_text(self);
update_aux_text(self);

IBUS_CHEWING_LOG(DEBUG, "update() nPhoneSeq=%d statusFlags=%x",
Expand Down Expand Up @@ -1132,4 +1132,4 @@ void ibus_chewing_engine_notify_chinese_english_mode_change(IBusChewingEngine *s
}
void ibus_chewing_engine_notify_fullwidth_mode_change(IBusChewingEngine *self) {
self->pending_notify_fullwidth_mode = TRUE;
}
}

0 comments on commit 684b044

Please sign in to comment.