From c6948c59f592aa5ca0c2d81ff7ac1368a253c353 Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Mon, 12 Nov 2012 13:36:33 +0100 Subject: [PATCH] bugfix: don't use con_is_internal fixes #872 --- src/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.c b/src/workspace.c index 1e707187..25b30ff6 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -343,7 +343,7 @@ static void _workspace_show(Con *workspace) { * the corresponding workspace is cleaned up. * NOTE: Internal cons such as __i3_scratch (when a scratchpad window is * focused) are skipped, see bug #868. */ - if (current && !con_is_internal(current)) { + if (current && !(current->name[0] == '_' && current->name[1] == '_')) { FREE(previous_workspace_name); if (current) { previous_workspace_name = sstrdup(current->name); -- 2.39.5