From 3b05d9df60515f05c67004695b60e0b34f32c768 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 4 Nov 2009 22:37:43 +0100 Subject: [PATCH] Bugfix: Cleanup stack window also when in tabbing mode (Thanks litemotiv) --- src/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table.c b/src/table.c index a4cf2063..eebe8de0 100644 --- a/src/table.c +++ b/src/table.c @@ -249,7 +249,7 @@ bool cell_exists(int col, int row) { static void free_container(xcb_connection_t *conn, Workspace *workspace, int col, int row) { Container *old_container = workspace->table[col][row]; - if (old_container->mode == MODE_STACK) + if (old_container->mode == MODE_STACK || old_container->mode == MODE_TABBED) leave_stack_mode(conn, old_container); free(old_container);