diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index e56f735..56c6f95 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -326,6 +326,8 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbTk::XLayer &layer): | |||
326 | FluxboxWindow::~FluxboxWindow() { | 326 | FluxboxWindow::~FluxboxWindow() { |
327 | if (WindowCmd<void>::window() == this) | 327 | if (WindowCmd<void>::window() == this) |
328 | WindowCmd<void>::setWindow(0); | 328 | WindowCmd<void>::setWindow(0); |
329 | if (FbMenu::window() == this) | ||
330 | FbMenu::setWindow(0); | ||
329 | if ( Fluxbox::instance()->keys() != 0 ) { | 331 | if ( Fluxbox::instance()->keys() != 0 ) { |
330 | Fluxbox::instance()->keys()-> | 332 | Fluxbox::instance()->keys()-> |
331 | unregisterWindow(frame().window().window()); | 333 | unregisterWindow(frame().window().window()); |