commit 469411d4842e265295de5897cbcf879487cb46e8
parent 829c75b9c95e6cf7c7a1e02528966ef842ea3d4c
Author: llyyr <llyyr@yukari.in>
Date: Wed, 28 Feb 2024 01:57:56 +0530
text_input: don't destroy scene_node twice
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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;