Merge pull request #3199 from orestisf1993/workspace_show
workspace_show: remove redundant if
This commit is contained in:
commit
16a707cd19
|
@ -397,11 +397,9 @@ void workspace_show(Con *workspace) {
|
|||
* focused) are skipped, see bug #868. */
|
||||
if (current && !con_is_internal(current)) {
|
||||
FREE(previous_workspace_name);
|
||||
if (current) {
|
||||
previous_workspace_name = sstrdup(current->name);
|
||||
DLOG("Setting previous_workspace_name = %s\n", previous_workspace_name);
|
||||
}
|
||||
}
|
||||
|
||||
workspace_reassign_sticky(workspace);
|
||||
|
||||
|
|
Loading…
Reference in New Issue