diff --git a/src/core/LockSurface.cpp b/src/core/LockSurface.cpp index 089ad63..0a3785b 100644 --- a/src/core/LockSurface.cpp +++ b/src/core/LockSurface.cpp @@ -124,7 +124,7 @@ static const wl_callback_listener callbackListener = { }; void CSessionLockSurface::render() { - Debug::log(LOG, "render lock"); + Debug::log(TRACE, "render lock"); const auto FEEDBACK = g_pRenderer->renderLock(*this); frameCallback = wl_surface_frame(surface); diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index 4de1d55..a99727a 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -328,6 +328,8 @@ void CHyprlock::unlockSession() { m_bTerminate = true; wl_display_roundtrip(m_sWaylandState.display); + + exit(0); } void CHyprlock::onLockLocked() { diff --git a/src/renderer/Renderer.cpp b/src/renderer/Renderer.cpp index c6a0cf2..86285af 100644 --- a/src/renderer/Renderer.cpp +++ b/src/renderer/Renderer.cpp @@ -155,7 +155,7 @@ CRenderer::SRenderFeedback CRenderer::renderLock(const CSessionLockSurface& surf frames++; - Debug::log(LOG, "frame {}", frames); + Debug::log(TRACE, "frame {}", frames); feedback.needsFrame = feedback.needsFrame || bga < 1.0; return feedback;