mirror of
https://github.com/swaywm/sway.git
synced 2024-10-31 21:47:24 +00:00
text_input: don't destroy scene_node twice
This commit is contained in:
parent
829c75b9c9
commit
469411d484
|
@ -293,10 +293,6 @@ static void input_popup_update(struct sway_input_popup *popup) {
|
||||||
return;
|
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
|
bool cursor_rect = text_input->input->current.features
|
||||||
& WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE;
|
& WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE;
|
||||||
struct wlr_surface *focused_surface = text_input->input->focused_surface;
|
struct wlr_surface *focused_surface = text_input->input->focused_surface;
|
||||||
|
|
Loading…
Reference in a new issue