mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
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.
This commit is contained in:
parent
e4a1560433
commit
66a38374ee
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue