aboutsummaryrefslogtreecommitdiff
path: root/sway/input/text_input.c
diff options
context:
space:
mode:
authorllyyr <llyyr@yukari.in>2024-02-28 01:57:56 +0530
committerSimon Ser <contact@emersion.fr>2024-02-28 09:34:25 +0100
commit469411d4842e265295de5897cbcf879487cb46e8 (patch)
treec7b92d6feb0057036d2b247413bae0f92853f207 /sway/input/text_input.c
parent829c75b9c95e6cf7c7a1e02528966ef842ea3d4c (diff)
text_input: don't destroy scene_node twice
Diffstat (limited to 'sway/input/text_input.c')
-rw-r--r--sway/input/text_input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/input/text_input.c b/sway/input/text_input.c
index 5e96c3a8..c38a3bb2 100644
--- a/sway/input/text_input.c
+++ b/sway/input/text_input.c
@@ -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;