mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-09-11 19:07:40 +03:00
fix surface destruction order
This commit is contained in:
parent
6d3a15f33c
commit
32e28312f1
@ -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 New Issue
Block a user