aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-17 09:29:31 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-17 09:29:31 +0100
commit0b08c7290e79342c660714217c52673e887de9e7 (patch)
tree718a179c4946ed1f9dec2bc9f074126678cb4b33
parent9ccdf5bc8973e1936ff6255f8f02af304aff9084 (diff)
Instantly redraw the screen on resize
-rw-r--r--src/ahoy/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c
index 1201700..a24d524 100644
--- a/src/ahoy/gui.c
+++ b/src/ahoy/gui.c
@@ -134,7 +134,7 @@ readevnt(void)
case SDL_WINDOWEVENT:
/* For some reason checking for SDL_WINDOWEVENT_RESIZE and friends
doesn’t work, so just catch all window events */
- c8.needs_redraw = true;
+ windrw();
break;
case SDL_KEYDOWN: