aboutsummaryrefslogtreecommitdiff
path: root/rootston/text_input.c
diff options
context:
space:
mode:
authorDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>2018-10-13 20:46:53 +0000
committerDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>2018-10-13 20:46:53 +0000
commit66a38374ee07d01b4af67d76489ac21d6ec2d39b (patch)
treecddf175be86ac9daa42da3685e25576825bb2ed7 /rootston/text_input.c
parente4a1560433010903ed1bb442a4e22cf2501d4b86 (diff)
text-input: Accept disable requests
The disable signal on text-input objects must not be ignored. It is only sent when the previous state was enabled.
Diffstat (limited to 'rootston/text_input.c')
-rw-r--r--rootston/text_input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rootston/text_input.c b/rootston/text_input.c
index cca64353..70c92761 100644
--- a/rootston/text_input.c
+++ b/rootston/text_input.c
@@ -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);
}