Skip to content

Commit

Permalink
Actually sync fullscreen and maximized states with the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenithMDC committed Dec 1, 2024
1 parent 386a0a4 commit f4bbd98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions port/src/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f4bbd98

Please sign in to comment.