From cc8b326dfc84aaea3a570c9ad129eb8aaedfcb8c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 14 Feb 2025 19:33:18 +0100 Subject: Fix priority of redraw requests in `winit` shell --- winit/src/program.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winit/src/program.rs b/winit/src/program.rs index 7ead4c3b..9a64fa51 100644 --- a/winit/src/program.rs +++ b/winit/src/program.rs @@ -363,7 +363,7 @@ where ( ControlFlow::WaitUntil(current), ControlFlow::WaitUntil(new), - ) if new < current => {} + ) if current < new => {} ( ControlFlow::WaitUntil(target), ControlFlow::Wait, -- cgit