wayland: destroy popup surfaces at correct time
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
b02698b940
commit
892f9198ab
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