X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWindow.cc;h=56487e0bd99c2674394bdae38f26993810b4d86a;hb=5067369f76f1f0db140a0e4c2c9af43982290183;hp=c2e8644b9c7b8d5b6a327bc0ea7951d4d99e4b40;hpb=1b129560d033d6c560bb99e5e8465a3b075623cd;p=chaz%2Fopenbox 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