mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
logging: move spammy logs to trace
This commit is contained in:
parent
e957c74814
commit
80d6dff563
3 changed files with 4 additions and 2 deletions
|
@ -124,7 +124,7 @@ static const wl_callback_listener callbackListener = {
|
||||||
};
|
};
|
||||||
|
|
||||||
void CSessionLockSurface::render() {
|
void CSessionLockSurface::render() {
|
||||||
Debug::log(LOG, "render lock");
|
Debug::log(TRACE, "render lock");
|
||||||
|
|
||||||
const auto FEEDBACK = g_pRenderer->renderLock(*this);
|
const auto FEEDBACK = g_pRenderer->renderLock(*this);
|
||||||
frameCallback = wl_surface_frame(surface);
|
frameCallback = wl_surface_frame(surface);
|
||||||
|
|
|
@ -328,6 +328,8 @@ void CHyprlock::unlockSession() {
|
||||||
m_bTerminate = true;
|
m_bTerminate = true;
|
||||||
|
|
||||||
wl_display_roundtrip(m_sWaylandState.display);
|
wl_display_roundtrip(m_sWaylandState.display);
|
||||||
|
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprlock::onLockLocked() {
|
void CHyprlock::onLockLocked() {
|
||||||
|
|
|
@ -155,7 +155,7 @@ CRenderer::SRenderFeedback CRenderer::renderLock(const CSessionLockSurface& surf
|
||||||
|
|
||||||
frames++;
|
frames++;
|
||||||
|
|
||||||
Debug::log(LOG, "frame {}", frames);
|
Debug::log(TRACE, "frame {}", frames);
|
||||||
|
|
||||||
feedback.needsFrame = feedback.needsFrame || bga < 1.0;
|
feedback.needsFrame = feedback.needsFrame || bga < 1.0;
|
||||||
return feedback;
|
return feedback;
|
||||||
|
|
Loading…
Reference in a new issue