X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=556430ec53594ce1d863bf12be441937b23570e1;hb=a26cd30bf068c2cf7edbfdb5a20548d04bfb3179;hp=bb3b37674cc2883ead5218c883b8c11ed07165e1;hpb=9b514b3b6165c80cfe7152c2088a97765f6c82f4;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index bb3b3767..556430ec 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -228,6 +228,7 @@ void client_unmanage(Client *client) g_message("Unmanaging window: %lx", client->window); dispatch_client(Event_Client_Destroy, client, 0, 0); + g_assert(client != NULL); /* remove the window from our save set */ XChangeSaveSet(ob_display, client->window, SetModeDelete); @@ -239,6 +240,7 @@ void client_unmanage(Client *client) /* dispatch the unmapped event */ dispatch_client(Event_Client_Unmapped, client, 0, 0); + g_assert(client != NULL); /* give the client its border back */ client_toggle_border(client, TRUE);