From 66acf8d4a33b677066701ca63e4f0f12611b2e6c Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Mon, 27 Oct 2025 20:03:24 +0100 Subject: [PATCH] skip frame on resize --- src/input.c3 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input.c3 b/src/input.c3 index 5bc7c31..9f1ba9b 100644 --- a/src/input.c3 +++ b/src/input.c3 @@ -93,6 +93,7 @@ fn void? Ctx.input_window_size(&ctx, short width, short height) ctx.current_input.events.resize = ctx.width != width || ctx.height != height; ctx.width = width; ctx.height = height; + if (ctx.current_input.events.resize) ctx.skip_frame = true; } // Window gained/lost focus