diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-07-28 23:56:35 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-07-28 23:56:35 +0200 |
| commit | a9d87bd6669568741704de08b6f0328a92e29396 (patch) | |
| tree | ec8eeaf6635749213fe061754cc2ef112f81a542 /src/protocols/LayerShell.cpp | |
| parent | 7df9b01d483155713c8d89666c7fc865b90c162e (diff) | |
surface: emit unmap before unmapping and releasing the buffers
Diffstat (limited to 'src/protocols/LayerShell.cpp')
| -rw-r--r-- | src/protocols/LayerShell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/LayerShell.cpp b/src/protocols/LayerShell.cpp index e018c3d0..5018828e 100644 --- a/src/protocols/LayerShell.cpp +++ b/src/protocols/LayerShell.cpp @@ -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; } |
