Verified Commit cfd9c165 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

text-input: Use text_input_clear_pending_focused_surface in handle_pending_focused_surface_destroy

This also removes the destroy signal listener of the pending surface.
parent 937083bb
......@@ -209,7 +209,7 @@ static void handle_pending_focused_surface_destroy(struct wl_listener *listener,
pending_focused_surface_destroy);
struct wlr_surface *surface = data;
assert(text_input->pending_focused_surface == surface);
text_input->pending_focused_surface = NULL;
text_input_clear_pending_focused_surface(text_input);
}
struct roots_text_input *roots_text_input_create(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment