Skip to content

Commit

Permalink
chore: skip super key combos; amend merge result
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Jan 30, 2023
1 parent ef3ac04 commit b45d226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rime/gear/selector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ inline static bool is_linear_layout(Context* ctx) {
}

ProcessResult Selector::ProcessKeyEvent(const KeyEvent& key_event) {
if (key_event.release() || key_event.alt())
if (key_event.release() ||
key_event.alt() || key_event.super())
return kNoop;
Context* ctx = engine_->context();
if (ctx->composition().empty())
Expand Down Expand Up @@ -256,7 +257,6 @@ bool Selector::End(Context* ctx) {
return Home(ctx);
}


bool Selector::SelectCandidateAt(Context* ctx, int index) {
Composition& comp = ctx->composition();
if (comp.empty())
Expand Down

0 comments on commit b45d226

Please sign in to comment.