Revert "core: dispatch on exit instead of roundtrip" (#114)

This reverts commit 2c7027d2b5.
Without the roundtrip it was possible that session_lock_surface_destroy gets called before unlock_and_destroy is processed.
This commit is contained in:
Maximilian Seidler 2024-03-01 23:45:38 +01:00 committed by GitHub
parent a7ec195842
commit 64bdc477b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -725,7 +725,7 @@ void CHyprlock::unlockSession() {
m_bTerminate = true; m_bTerminate = true;
m_bLocked = false; m_bLocked = false;
wl_display_dispatch(m_sWaylandState.display); wl_display_roundtrip(m_sWaylandState.display);
} }
void CHyprlock::onLockLocked() { void CHyprlock::onLockLocked() {