mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
fix surface destruction order
This commit is contained in:
parent
6d3a15f33c
commit
32e28312f1
1 changed files with 1 additions and 1 deletions
|
@ -40,8 +40,8 @@ CLayerSurface::CLayerSurface(SMonitor* pMonitor) {
|
|||
}
|
||||
|
||||
CLayerSurface::~CLayerSurface() {
|
||||
wl_surface_destroy(pSurface);
|
||||
zwlr_layer_surface_v1_destroy(pLayerSurface);
|
||||
wl_surface_destroy(pSurface);
|
||||
|
||||
wl_display_flush(g_pHyprpaper->m_sDisplay);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue