write notify message when window is closed

This commit is contained in:
David Rose 2003-05-08 22:56:17 +00:00
parent f06c2c81f8
commit 2bdd2c69b3
3 changed files with 5 additions and 0 deletions

View File

@ -833,6 +833,8 @@ set_properties_now(WindowProperties &properties) {
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void GraphicsWindow:: void GraphicsWindow::
close_window() { close_window() {
display_cat.info()
<< "Closing " << get_type() << "\n";
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

View File

@ -357,6 +357,7 @@ close_window() {
// application, so the server hears the close request. // application, so the server hears the close request.
XFlush(_display); XFlush(_display);
} }
GraphicsWindow::close_window();
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

View File

@ -184,6 +184,8 @@ close_window() {
// revert to default display mode. // revert to default display mode.
ChangeDisplaySettings(NULL, 0x0); ChangeDisplaySettings(NULL, 0x0);
} }
GraphicsWindow::close_window();
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////