mirror of
https://github.com/vale981/bspwm
synced 2025-03-04 17:31:39 -05:00
Activate the relevant node
This commit is contained in:
parent
0d0fb94fd1
commit
181e67978e
1 changed files with 3 additions and 1 deletions
|
@ -644,7 +644,9 @@ void cmd_desktop(char **args, int num, FILE *rsp)
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!activate_desktop(dst.monitor, dst.desktop)) {
|
||||
if (activate_desktop(dst.monitor, dst.desktop)) {
|
||||
activate_node(dst.monitor, dst.desktop, NULL);
|
||||
} else {
|
||||
fail(rsp, "");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue