We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ed284 commit 1c346ffCopy full SHA for 1c346ff
src/x/xdisplay.c
@@ -464,6 +464,9 @@ static ALLEGRO_DISPLAY_XGLX *xdpy_create_display_locked(
464
}
465
466
if (flags & ALLEGRO_MAXIMIZED) {
467
+ /* _al_xwin_maximize works by comparing to current flag value, so we need
468
+ * to start with an unmaximized state. */
469
+ display->flags &= ~ALLEGRO_MAXIMIZED;
470
_al_xwin_maximize(display, true);
471
472
0 commit comments