From 2c7027d2b5901fb607046e60db650b034e12e261 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 27 Feb 2024 13:25:57 +0000 Subject: [PATCH] core: dispatch on exit instead of roundtrip --- src/core/hyprlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index 86c73a5..0c3b012 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -716,7 +716,7 @@ void CHyprlock::unlockSession() { m_bTerminate = true; m_bLocked = false; - wl_display_roundtrip(m_sWaylandState.display); + wl_display_dispatch(m_sWaylandState.display); } void CHyprlock::onLockLocked() {