diff --git a/app/src/screen.c b/app/src/screen.c index beb10754..7caf1ea3 100644 --- a/app/src/screen.c +++ b/app/src/screen.c @@ -185,7 +185,7 @@ screen_init_rendering(struct screen *screen, const char *window_title, if (window_borderless) { window_flags |= SDL_WINDOW_BORDERLESS; } - + int x = window_x != -1 ? window_x : (int) SDL_WINDOWPOS_UNDEFINED; int y = window_y != -1 ? window_y : (int) SDL_WINDOWPOS_UNDEFINED; screen->window = SDL_CreateWindow(window_title, x, y,