From: Simon Elsbrock Date: Mon, 12 Nov 2012 12:36:33 +0000 (+0100) Subject: bugfix: don't use con_is_internal X-Git-Tag: 4.5~112^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6948c59f592aa5ca0c2d81ff7ac1368a253c353;p=i3%2Fi3 bugfix: don't use con_is_internal fixes #872 --- 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);