From 65b858b9c57a061ea75e2b538761f261a20b865e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 13 Apr 2009 23:27:47 +0200 Subject: [PATCH] Bugfix: Fix unmapping of dock windows (Thanks Mirko) --- src/handlers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handlers.c b/src/handlers.c index a9aaf8c3..e92d062e 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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); + } /* Let’s see how many clients there are left on the workspace to delete it if it’s empty */ bool workspace_empty = true;