mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
write notify message when window is closed
This commit is contained in:
parent
f06c2c81f8
commit
2bdd2c69b3
@ -833,6 +833,8 @@ set_properties_now(WindowProperties &properties) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void GraphicsWindow::
|
||||
close_window() {
|
||||
display_cat.info()
|
||||
<< "Closing " << get_type() << "\n";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
@ -357,6 +357,7 @@ close_window() {
|
||||
// application, so the server hears the close request.
|
||||
XFlush(_display);
|
||||
}
|
||||
GraphicsWindow::close_window();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
@ -184,6 +184,8 @@ close_window() {
|
||||
// revert to default display mode.
|
||||
ChangeDisplaySettings(NULL, 0x0);
|
||||
}
|
||||
|
||||
GraphicsWindow::close_window();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user