]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Fix unmapping of dock windows (Thanks Mirko)
authorMichael Stapelberg <michael+x200@stapelberg.de>
Mon, 13 Apr 2009 21:27:47 +0000 (23:27 +0200)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Mon, 13 Apr 2009 21:27:47 +0000 (23:27 +0200)
src/handlers.c

index a9aaf8c3380d255d1a535b0ee269c48de06c62ab..e92d062e66a41bfef0df37975dc83800d0b0b918 100644 (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);
+        }
 
         /* Let’s see how many clients there are left on the workspace to delete it if it’s empty */
         bool workspace_empty = true;