aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar llyyr <llyyr@yukari.in>2024-02-28 01:57:56 +0530
committerLibravatar Simon Ser <contact@emersion.fr>2024-02-28 09:34:25 +0100
commit469411d4842e265295de5897cbcf879487cb46e8 (patch)
treec7b92d6feb0057036d2b247413bae0f92853f207 /sway
parentAdd release script (diff)
downloadsway-469411d4842e265295de5897cbcf879487cb46e8.tar.gz
sway-469411d4842e265295de5897cbcf879487cb46e8.tar.zst
sway-469411d4842e265295de5897cbcf879487cb46e8.zip
text_input: don't destroy scene_node twice
Diffstat (limited to 'sway')
-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) {
293 return; 293 return;
294 } 294 }
295 295
296 wlr_scene_node_destroy(&popup->scene_tree->node);
297 wlr_scene_node_destroy(popup->desc.relative);
298 popup->scene_tree = NULL;
299
300 bool cursor_rect = text_input->input->current.features 296 bool cursor_rect = text_input->input->current.features
301 & WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE; 297 & WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE;
302 struct wlr_surface *focused_surface = text_input->input->focused_surface; 298 struct wlr_surface *focused_surface = text_input->input->focused_surface;