all repos — openbox @ 1297c7c157584599f474aa13effaca5a866bfb14

openbox fork - make it a bit more like ryudo

clean up transient's parent's reference in destructor
Dana Jansens danakj@orodu.net
commit

1297c7c157584599f474aa13effaca5a866bfb14

parent

34cd50ec5173e350b1d8b350fade2948c50113ee

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

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

@@ -72,6 +72,10 @@ OBClient::~OBClient()

{ const otk::OBProperty *property = Openbox::instance->property(); + // clean up parents reference to this + if (_transient_for) + _transient_for->_transients.remove(this); // remove from old parent + if (Openbox::instance->state() != Openbox::State_Exiting) { // these values should not be persisted across a window unmapping/mapping property->erase(_window, otk::OBProperty::net_wm_desktop);