Skip to content

Commit

Permalink
This seems to fix issue2 described in djpohly#235
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed May 23, 2022
1 parent 90d9e99 commit d713c68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ static void handle_text_input_destroy(struct wl_listener *listener,
text_input_set_pending_focused_surface(text_input, NULL);
wl_list_remove(&text_input->text_input_commit.link);
wl_list_remove(&text_input->text_input_destroy.link);
wl_list_remove(&text_input->text_input_disable.link);
//wl_list_remove(&text_input->text_input_disable.link);
wl_list_remove(&text_input->text_input_enable.link);
wl_list_remove(&text_input->link);
free(text_input);
Expand Down Expand Up @@ -2273,8 +2273,8 @@ struct dwl_text_input *dwl_text_input_create(
input->text_input_commit.notify = handle_text_input_commit;
wl_signal_add(&text_input->events.commit, &input->text_input_commit);

input->text_input_disable.notify = handle_text_input_disable;
wl_signal_add(&text_input->events.disable, &input->text_input_disable);
/* input->text_input_disable.notify = handle_text_input_disable; */
/* wl_signal_add(&text_input->events.disable, &input->text_input_disable); */

input->text_input_destroy.notify = handle_text_input_destroy;
wl_signal_add(&text_input->events.destroy, &input->text_input_destroy);
Expand Down

0 comments on commit d713c68

Please sign in to comment.