asserts in unmanage to try track a crash
This commit is contained in:
parent
a5b371cfe7
commit
ff06051eb7
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,7 @@ void client_unmanage(Client *client)
|
||||||
g_message("Unmanaging window: %lx", client->window);
|
g_message("Unmanaging window: %lx", client->window);
|
||||||
|
|
||||||
dispatch_client(Event_Client_Destroy, client, 0, 0);
|
dispatch_client(Event_Client_Destroy, client, 0, 0);
|
||||||
|
g_assert(client != NULL);
|
||||||
|
|
||||||
/* remove the window from our save set */
|
/* remove the window from our save set */
|
||||||
XChangeSaveSet(ob_display, client->window, SetModeDelete);
|
XChangeSaveSet(ob_display, client->window, SetModeDelete);
|
||||||
|
@ -239,6 +240,7 @@ void client_unmanage(Client *client)
|
||||||
|
|
||||||
/* dispatch the unmapped event */
|
/* dispatch the unmapped event */
|
||||||
dispatch_client(Event_Client_Unmapped, client, 0, 0);
|
dispatch_client(Event_Client_Unmapped, client, 0, 0);
|
||||||
|
g_assert(client != NULL);
|
||||||
|
|
||||||
/* give the client its border back */
|
/* give the client its border back */
|
||||||
client_toggle_border(client, TRUE);
|
client_toggle_border(client, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue