Skip to content

Commit

Permalink
Revert "core: dispatch on exit instead of roundtrip" (#114)
Browse files Browse the repository at this point in the history
This reverts commit 2c7027d.
Without the roundtrip it was possible that session_lock_surface_destroy gets called before unlock_and_destroy is processed.
  • Loading branch information
PaideiaDilemma authored Mar 1, 2024
1 parent a7ec195 commit 64bdc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/hyprlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ void CHyprlock::unlockSession() {
m_bTerminate = true;
m_bLocked = false;

wl_display_dispatch(m_sWaylandState.display);
wl_display_roundtrip(m_sWaylandState.display);
}

void CHyprlock::onLockLocked() {
Expand Down

0 comments on commit 64bdc47

Please sign in to comment.