diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-18 20:56:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-18 20:56:23 +0000 |
| commit | 5067369f76f1f0db140a0e4c2c9af43982290183 (patch) | |
| tree | eb8d591b9225cb6422e80072586401ec56da71a1 /src/Window.cc | |
| parent | 1b129560d033d6c560bb99e5e8465a3b075623cd (diff) | |
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.
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
