The minwidth and minheight window flags have default values of 0 instead of 100 (resolves issue #735).

The real minimum window width and height are still system-dependent.
This commit is contained in:
Alex Szpakowski
2013-09-19 19:05:40 -03:00
parent ffe0485173
commit 0ce0db9e1b
5 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -68,8 +68,8 @@ int w_setMode(lua_State *L)
flags.vsync = luax_boolflag(L, 3, "vsync", true);
flags.fsaa = luax_intflag(L, 3, "fsaa", 0);
flags.resizable = luax_boolflag(L, 3, "resizable", false);
flags.minwidth = luax_intflag(L, 3, "minwidth", 100);
flags.minheight = luax_intflag(L, 3, "minheight", 100);
flags.minwidth = luax_intflag(L, 3, "minwidth", 0);
flags.minheight = luax_intflag(L, 3, "minheight", 0);
flags.borderless = luax_boolflag(L, 3, "borderless", false);
flags.centered = luax_boolflag(L, 3, "centered", true);
flags.display = luax_intflag(L, 3, "display", 1);