mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
WindowServer: Forgot to actually set 'had_any_timer' after we had any timer.
This commit is contained in:
parent
c5a00a56c8
commit
269f9ae524
Notes:
sideshowbarker
2024-07-19 15:45:41 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/269f9ae5241
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ void WSMessageLoop::wait_for_message()
|
|||
auto& timer = *it.value;
|
||||
if (!had_any_timer) {
|
||||
timeout = timer.next_fire_time;
|
||||
had_any_timer = true;
|
||||
continue;
|
||||
}
|
||||
if (timer.next_fire_time.tv_sec > timeout.tv_sec || (timer.next_fire_time.tv_sec == timeout.tv_sec && timer.next_fire_time.tv_usec > timeout.tv_usec))
|
||||
|
|
Loading…
Add table
Reference in a new issue