From 469411d4842e265295de5897cbcf879487cb46e8 Mon Sep 17 00:00:00 2001 From: llyyr Date: Wed, 28 Feb 2024 01:57:56 +0530 Subject: [PATCH] text_input: don't destroy scene_node twice --- sway/input/text_input.c | 4 ---- 1 file changed, 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;