From f4bbd98549df8f54687b3048886c1a44a9c8a00c Mon Sep 17 00:00:00 2001 From: Matthew Coppola Date: Sat, 30 Nov 2024 17:30:59 -0500 Subject: [PATCH] Actually sync fullscreen and maximized states with the backend --- port/src/video.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/port/src/video.c b/port/src/video.c index 726096de4..9a121421d 100644 --- a/port/src/video.c +++ b/port/src/video.c @@ -105,6 +105,10 @@ void videoStartFrame(void) startTime = wmAPI->get_time(); gfx_start_frame(); } + + // Synchronize with their backend counterparts. + vidFullscreen = videoGetFullscreen(); + vidMaximize = videoGetMaximizeWindow(); } void videoSubmitCommands(Gfx *cmds)