mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-23 07:53:49 -07:00
surface: emit unmap before unmapping and releasing the buffers
This commit is contained in:
@@ -87,8 +87,8 @@ CWLSubsurfaceResource::CWLSubsurfaceResource(SP<CWlSubsurface> resource_, SP<CWL
|
||||
}
|
||||
|
||||
if (!surface->current.buffer && surface->mapped) {
|
||||
surface->unmap();
|
||||
surface->events.unmap.emit();
|
||||
surface->unmap();
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user