Revert "don't use con_is_internal"
This reverts commit c6948c59f5
.
Given that master and next now both contain con_is_internal, we can use
it again.
This commit is contained in:
parent
a0228b0333
commit
61a5b9ddd4
|
@ -397,7 +397,7 @@ static void _workspace_show(Con *workspace) {
|
||||||
* the corresponding workspace is cleaned up.
|
* the corresponding workspace is cleaned up.
|
||||||
* NOTE: Internal cons such as __i3_scratch (when a scratchpad window is
|
* NOTE: Internal cons such as __i3_scratch (when a scratchpad window is
|
||||||
* focused) are skipped, see bug #868. */
|
* focused) are skipped, see bug #868. */
|
||||||
if (current && !(current->name[0] == '_' && current->name[1] == '_')) {
|
if (current && !con_is_internal(current)) {
|
||||||
FREE(previous_workspace_name);
|
FREE(previous_workspace_name);
|
||||||
if (current) {
|
if (current) {
|
||||||
previous_workspace_name = sstrdup(current->name);
|
previous_workspace_name = sstrdup(current->name);
|
||||||
|
|
Loading…
Reference in New Issue