Add support for hidden windows, hide on munit tests
This commit is contained in:
@@ -85,6 +85,9 @@ class ApplicationMain {
|
||||
fullscreen: ::fullscreen::,
|
||||
hardware: ::hardware::,
|
||||
height: ::height::,
|
||||
hidden: #if munit true #else ::hidden:: #end,
|
||||
maximized: ::maximized::,
|
||||
minimized: ::minimized::,
|
||||
parameters: "::parameters::",
|
||||
resizable: ::resizable::,
|
||||
stencilBuffer: ::stencilBuffer::,
|
||||
@@ -112,11 +115,7 @@ class ApplicationMain {
|
||||
var result = app.exec ();
|
||||
|
||||
#if (sys && !nodejs && !emscripten)
|
||||
if (result != 0) {
|
||||
|
||||
Sys.exit (result);
|
||||
|
||||
}
|
||||
lime.system.System.exit (result);
|
||||
#end
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user