]> git.sur5r.net Git - i3/i3/commitdiff
Merge branch 'next'
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 11 Dec 2012 23:18:23 +0000 (00:18 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 11 Dec 2012 23:18:23 +0000 (00:18 +0100)
src/workspace.c

index 5a0913bfcc77852c1084fe2f2908097000714b8c..4ccf421c09f1b429e34152b175e395558b77269e 100644 (file)
@@ -397,7 +397,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);