wayland: destroy popup surfaces at correct time
This commit is contained in:
parent
2e9aca5d46
commit
175827fd9b
1 changed files with 2 additions and 3 deletions
|
|
@ -584,14 +584,13 @@ static void setup_popup(MwLL r, int x, int y, MwLL parent) {
|
||||||
|
|
||||||
/* Popup destroy function */
|
/* Popup destroy function */
|
||||||
static void destroy_popup(MwLL r) {
|
static void destroy_popup(MwLL r) {
|
||||||
|
|
||||||
MwLLWaylandBackbufferDestroy(&r->wayland);
|
MwLLWaylandBackbufferDestroy(&r->wayland);
|
||||||
MwLLWaylandFramebufferDestroy(&r->wayland);
|
MwLLWaylandFramebufferDestroy(&r->wayland);
|
||||||
|
|
||||||
xdg_surface_destroy(r->wayland.popup->xdg_surface);
|
|
||||||
|
|
||||||
xdg_popup_destroy(r->wayland.popup->xdg_popup);
|
xdg_popup_destroy(r->wayland.popup->xdg_popup);
|
||||||
|
|
||||||
|
xdg_surface_destroy(r->wayland.popup->xdg_surface);
|
||||||
|
|
||||||
xdg_positioner_destroy(r->wayland.popup->xdg_positioner);
|
xdg_positioner_destroy(r->wayland.popup->xdg_positioner);
|
||||||
|
|
||||||
wl_surface_destroy(r->wayland.framebuffer.surface);
|
wl_surface_destroy(r->wayland.framebuffer.surface);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue