workspace_show: remove redundant if
This commit is contained in:
parent
a41912430a
commit
f46bb0396e
|
@ -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