Skip to content

Commit

Permalink
text_input: don't destroy scene_node twice
Browse files Browse the repository at this point in the history
  • Loading branch information
llyyr authored and rpigott committed Feb 28, 2024
1 parent 36378d0 commit 3e2a081
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sway/input/text_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@ static void input_popup_update(struct sway_input_popup *popup) {
return;
}

wlr_scene_node_destroy(&popup->scene_tree->node);
wlr_scene_node_destroy(popup->desc.relative);
popup->scene_tree = NULL;

bool cursor_rect = text_input->input->current.features
& WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE;
struct wlr_surface *focused_surface = text_input->input->focused_surface;
Expand Down

0 comments on commit 3e2a081

Please sign in to comment.