mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
input/text_input: parent wlr_box may be uninitialized
This commit is contained in:
parent
7c11c463a3
commit
d6150b6bb0
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ static void input_popup_update(struct sway_input_popup *popup) {
|
||||||
struct wlr_box cursor_area = text_input->input->current.cursor_rectangle;
|
struct wlr_box cursor_area = text_input->input->current.cursor_rectangle;
|
||||||
|
|
||||||
struct wlr_box output_box;
|
struct wlr_box output_box;
|
||||||
struct wlr_box parent;
|
struct wlr_box parent = {0};
|
||||||
struct wlr_layer_surface_v1 *layer_surface =
|
struct wlr_layer_surface_v1 *layer_surface =
|
||||||
wlr_layer_surface_v1_try_from_wlr_surface(focused_surface);
|
wlr_layer_surface_v1_try_from_wlr_surface(focused_surface);
|
||||||
struct wlr_scene_tree *relative_parent;
|
struct wlr_scene_tree *relative_parent;
|
||||||
|
|
Loading…
Reference in a new issue