Bugfix: Fix unmapping of dock windows (Thanks Mirko)

This commit is contained in:
Michael Stapelberg 2009-04-13 23:27:47 +02:00
parent a2d20b6848
commit 65b858b9c5

View File

@ -632,10 +632,10 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
xcb_flush(conn);
table_remove(byParent, client->frame);
if (client->container != NULL)
if (client->container != NULL) {
cleanup_table(conn, client->container->workspace);
fix_colrowspan(conn, client->container->workspace);
fix_colrowspan(conn, client->container->workspace);
}
/* Lets see how many clients there are left on the workspace to delete it if its empty */
bool workspace_empty = true;