From d05f3d783093f528003a538c234fb7625d989a6f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 27 Jan 2026 15:37:36 +0100 Subject: [PATCH] hopefully fixed the resize_screen_to loop --- control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index 4ed6d8cc..d7427dba 100644 --- a/control.cpp +++ b/control.cpp @@ -906,6 +906,7 @@ EX bool stillscreen; int cframelimit = 1000; EX void resize_screen_to(int x, int y) { + if(debug_control) println(hlog, "resize_screen_to ", tie(x, y)); dual::split_or_do([&] { vid.killreduction = 0; if(vid.want_fullscreen) return; @@ -918,7 +919,7 @@ EX void resize_screen_to(int x, int y) { vid.window_y = y; } }); - apply_screen_settings(); + if(!vid.want_fullscreen) apply_screen_settings(); } int lastframe;