From 549f189df3408bba27524763289545f20771c3b0 Mon Sep 17 00:00:00 2001 From: Elias Pschernig Date: Sun, 5 Nov 2023 19:15:22 +0100 Subject: [PATCH] fix clang compilation --- src/x/xdisplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x/xdisplay.c b/src/x/xdisplay.c index b156fdc3f..614be834c 100644 --- a/src/x/xdisplay.c +++ b/src/x/xdisplay.c @@ -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;