Skip to content

Commit

Permalink
fix clang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
allefant authored and SiegeLord committed Nov 6, 2023
1 parent 11a6425 commit 549f189
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/x/xdisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,12 @@ static bool xdpy_set_display_flag_default(ALLEGRO_DISPLAY *display, int flag,
_al_xwin_set_frame(display, !flag_onoff);
return true;
case ALLEGRO_FULLSCREEN_WINDOW:
{
/* Bypass system lock. */
ALLEGRO_DISPLAY_XGLX *glx = (ALLEGRO_DISPLAY_XGLX *)display;
glx->overridable_vt->set_fullscreen_window(display, flag_onoff);
return true;
}
case ALLEGRO_MAXIMIZED:
_al_xwin_maximize(display, flag_onoff);
return true;
Expand Down

0 comments on commit 549f189

Please sign in to comment.