diff --git a/src/hyprpicker.cpp b/src/hyprpicker.cpp index 55e5f30..4551c53 100644 --- a/src/hyprpicker.cpp +++ b/src/hyprpicker.cpp @@ -48,6 +48,8 @@ void CHyprpicker::finish(int code) { destroyBuffer(&ls->screenBuffer); } + m_vLayerSurfaces.clear(); + if (m_pWLDisplay) { wl_display_disconnect(m_pWLDisplay); m_pWLDisplay = nullptr;