Merge pull request #94411 from Riteo/suspending-the-right-way
Wayland: Check for suspended flag when unsuspending
This commit is contained in:
commit
64a11d08cc
1 changed files with 1 additions and 1 deletions
|
@ -1238,7 +1238,7 @@ void DisplayServerWayland::process_events() {
|
||||||
} else {
|
} else {
|
||||||
try_suspend();
|
try_suspend();
|
||||||
}
|
}
|
||||||
} else if (wayland_thread.get_reset_frame()) {
|
} else if (!wayland_thread.is_suspended() || wayland_thread.get_reset_frame()) {
|
||||||
// At last, a sign of life! We're no longer suspended.
|
// At last, a sign of life! We're no longer suspended.
|
||||||
suspended = false;
|
suspended = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue