asserts in unmanage to try track a crash
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -228,6 +228,7 @@
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 @@ engine_frame_hide(client->frame);
/* 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);