all repos — openbox @ aaf297a1367c1b2af4626f020c93ce82fb20ee69

openbox fork - make it a bit more like ryudo

delete the surface in destructor
Dana Jansens danakj@orodu.net
commit

aaf297a1367c1b2af4626f020c93ce82fb20ee69

parent

f1c0beee3e785800a5cb7766afc0a40e50adfb03

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

jump to
M otk/widget.ccotk/widget.cc

@@ -59,6 +59,9 @@ {

if (_visible) hide(); + if (_surface) + delete _surface; + _event_dispatcher->clearHandler(_window); std::for_each(_children.begin(), _children.end(), PointerAssassin());