Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
text-input: Accept disable requests
Browse files Browse the repository at this point in the history
The disable signal on text-input objects must not be ignored. It is only sent when the previous state was enabled.
  • Loading branch information
dcz-purism committed Oct 13, 2018
1 parent e4a1560 commit 66a3837
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rootston/text_input.c
Expand Up @@ -163,10 +163,6 @@ static void handle_text_input_disable(struct wl_listener *listener,
text_input_disable);
struct roots_text_input *text_input = text_input_to_roots(relay,
(struct wlr_text_input_v3*)data);
if (!text_input->input->current_enabled) {
wlr_log(WLR_DEBUG, "Inactive text input tried to disable itself");
return;
}
relay_disable_text_input(relay, text_input);
}

Expand Down

0 comments on commit 66a3837

Please sign in to comment.