diff --git a/src/rime/gear/selector.cc b/src/rime/gear/selector.cc index 4f1d5a0e0..64f6e6a90 100644 --- a/src/rime/gear/selector.cc +++ b/src/rime/gear/selector.cc @@ -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()) @@ -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())