mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
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:
parent
a7ec195842
commit
64bdc477b2
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue