diff --git a/compositor/text-backend.c b/compositor/text-backend.c index 262ba9fb..bf5c45cc 100644 --- a/compositor/text-backend.c +++ b/compositor/text-backend.c @@ -132,6 +132,7 @@ deactivate_input_method(struct input_method *input_method) zwp_input_method_v1_send_deactivate( input_method->input_method_binding, input_method->context->resource); + input_method->context->input = NULL; } wl_list_remove(&input_method->link);