all repos — fluxbox @ 41aec985ce641575381e3c6015c4ed95246d443b

custom fork of the fluxbox windowmanager

we can be in shutdown state, which means keys can be destroyed
fluxgen fluxgen
commit

41aec985ce641575381e3c6015c4ed95246d443b

parent

c6a2605d76927eed881e4ff9df58a9ec600bf4a2

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0.1: *07/10/22: + * Fixed crash bug at restart. ( Henrik ) + Window.cc * Replaced modKey with new commands StartMoving and StartResizing (Mark) - your keys file should be updated automatically - they must be used with a mouse button, or they won't work
M src/Window.ccsrc/Window.cc

@@ -295,8 +295,11 @@

FluxboxWindow::~FluxboxWindow() { if (WindowCmd<void>::window() == this) WindowCmd<void>::setWindow(0); + if ( Fluxbox::instance()->keys() != 0 ) { + Fluxbox::instance()->keys()-> + unregisterWindow(frame().window().window()); + } - Fluxbox::instance()->keys()->unregisterWindow(frame().window().window()); #ifdef DEBUG const char* title = m_client ? m_client->title().c_str() : "" ;