LibGUI: GDialog should close its nested event loop on window close.

Make GWindow::close() so we can override it in GDialog and quit from the
internal event loop when the window manager tells us to close ourselves.

The dialog will return GDialog::ExecCancel in these situations.
This commit is contained in:
Andreas Kling 2019-07-26 16:13:59 +02:00
commit d7ff2c5b86
Notes: sideshowbarker 2024-07-19 13:02:50 +09:00
3 changed files with 10 additions and 1 deletions

View file

@ -82,7 +82,7 @@ public:
void show();
void hide();
void close();
virtual void close();
void move_to_front();
void start_wm_resize();