all repos — fluxbox @ 68d8aa60b6859cd778a7ec5172b1dce7746fdf05

custom fork of the fluxbox windowmanager

fix crashes from dangling pointer
Mark Tiefenbruck mark@fluxbox.org
commit

68d8aa60b6859cd778a7ec5172b1dce7746fdf05

parent

be3ac3723da5bc5203c68ea3bea597e8a6ba9c8d

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

jump to
M src/Window.ccsrc/Window.cc

@@ -326,6 +326,8 @@

FluxboxWindow::~FluxboxWindow() { if (WindowCmd<void>::window() == this) WindowCmd<void>::setWindow(0); + if (FbMenu::window() == this) + FbMenu::setWindow(0); if ( Fluxbox::instance()->keys() != 0 ) { Fluxbox::instance()->keys()-> unregisterWindow(frame().window().window());