diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-14 08:16:23 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-14 08:16:23 +0100 |
| commit | c8b4a56735d288e87c743d99f928b07ceacbbb8c (patch) | |
| tree | 090cb47510a53a98b6f329bf18bca442e177ea2a /src/drivers | |
| parent | a4fdf92d068bbab47dc9beb3a97570b90c3b191d (diff) | |
Add missing initialisation after dynamic memory allocation
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index e2b1c0ec5..c5294507c 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -1244,6 +1244,7 @@ void Fl_Wayland_Window_Driver::makeWindow() win_pos->window = xid; win_pos->x = 0; win_pos->y = 0; + win_pos->child_popup = NULL; xdg_popup_add_listener(xid->xdg_popup, &popup_listener, win_pos); wl_surface_commit(xid->wl_surface); previous_floatingtitle->wait_for_expose(); |
