summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.c
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2015-07-20 08:11:41 +0200
committer ImJezze <jezze@gmx.net>2015-07-20 08:11:41 +0200
commit4bcb0c13f50ddb1cd3fd0341b4bb31d9c3c7fc7a (patch)
tree55eccacfca0e69435d0d4e6615205310ca11f271 /src/osd/sdl/window.c
parentd132946c6f45aa8d271c6180e86f72dd08243048 (diff)
parent229785f695b26c702c8490792611f59d0366a933 (diff)
Merge pull request #5 from mamedev/master
Sync to base master
Diffstat (limited to 'src/osd/sdl/window.c')
-rw-r--r--src/osd/sdl/window.c4
1 files changed, 4 insertions, 0 deletions
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);
}