send window-event on open, close

This commit is contained in:
David Rose 2009-07-17 01:38:50 +00:00
parent 13ac178d22
commit bb3e1ef644
1 changed files with 10 additions and 0 deletions

View File

@ -253,6 +253,11 @@ close_window() {
}
_is_valid = false;
WindowProperties properties;
properties.set_open(false);
properties.set_foreground(false);
system_changed_properties(properties);
}
////////////////////////////////////////////////////////////////////
@ -289,6 +294,11 @@ open_window() {
return false;
}
WindowProperties properties;
properties.set_open(true);
properties.set_foreground(true);
system_changed_properties(properties);
return true;
}