diff --git a/src/osd/sdl/window.c b/src/osd/sdl/window.c index 0c262cc14c6..683f3369f68 100644 --- a/src/osd/sdl/window.c +++ b/src/osd/sdl/window.c @@ -1561,6 +1561,10 @@ osd_dim sdl_window_info::get_min_bounds(int constrain) } } + // remove extra window stuff + minwidth -= wnd_extra_width(); + minheight -= wnd_extra_height(); + return osd_dim(minwidth, minheight); }