Allow multiple windows, close each one individually, exit when all are closed
This commit is contained in:
@@ -357,6 +357,7 @@ class NativeApplication {
|
||||
case WINDOW_CLOSE:
|
||||
|
||||
window.onClose.dispatch ();
|
||||
window.close ();
|
||||
|
||||
case WINDOW_DEACTIVATE:
|
||||
|
||||
|
||||
@@ -206,7 +206,6 @@ namespace lime {
|
||||
case SDL_WINDOWEVENT_CLOSE:
|
||||
|
||||
ProcessWindowEvent (event);
|
||||
active = false;
|
||||
break;
|
||||
|
||||
}
|
||||
@@ -215,7 +214,6 @@ namespace lime {
|
||||
|
||||
case SDL_QUIT:
|
||||
|
||||
//quit
|
||||
active = false;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user