From 5067369f76f1f0db140a0e4c2c9af43982290183 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 18 Apr 2002 20:56:23 +0000 Subject: fix 2 bus errors on osx: - it's std::string doesnt like being set to NULL. - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad. --- src/Window.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index c2e8644b..56487e0b 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -168,9 +168,8 @@ OpenboxWindow::OpenboxWindow(Openbox &o, Window w, BScreen *s) : openbox(o) { #ifdef SLIT if (client.initial_state == WithdrawnState) { screen->getSlit()->addClient(client.window); - delete this; - openbox.ungrab(); + delete this; return; } #endif // SLIT -- cgit v1.2.3