aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ime.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ime.c b/ime.c
index 63e8cb9f..ad283455 100644
--- a/ime.c
+++ b/ime.c
@@ -25,11 +25,7 @@ enter(void *data, struct zwp_text_input_v3 *zwp_text_input_v3,
LOG_DBG("enter: seat=%s", seat->name);
/* The main grid is the *only* input-receiving surface we have */
- /* TODO: can we receive text_input::enter() _before_ keyboard_enter()? */
- struct terminal UNUSED *term = seat->kbd_focus;
- xassert(term != NULL);
- xassert(term_surface_kind(term, surface) == TERM_SURF_GRID);
-
+ xassert(seat->kbd_focus != NULL);
ime_enable(seat);
}