bugfix: don't use con_is_internal

fixes #872
This commit is contained in:
Simon Elsbrock 2012-11-12 13:36:33 +01:00 committed by Michael Stapelberg
parent 17674de5a6
commit c6948c59f5
1 changed files with 1 additions and 1 deletions

View File

@ -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);