mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
surface: emit unmap before unmapping and releasing the buffers
This commit is contained in:
@@ -73,8 +73,8 @@ CLayerShellResource::CLayerShellResource(SP<CZwlrLayerSurfaceV1> resource_, SP<C
|
||||
|
||||
if (!attachedBuffer && mapped) {
|
||||
mapped = false;
|
||||
surface->unmap();
|
||||
events.unmap.emit();
|
||||
surface->unmap();
|
||||
configured = false;
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user