mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
text_input: don't destroy scene_node twice
This commit is contained in:
parent
829c75b9c9
commit
469411d484
1 changed files with 0 additions and 4 deletions
|
@ -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