mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-27 21:58:16 +01:00
parent
9d827ef493
commit
450b40c635
1 changed files with 8 additions and 2 deletions
|
@ -923,11 +923,17 @@ struct cmd_results *cmd_move(int argc, char **argv) {
|
|||
|
||||
if (strcasecmp(argv[0], "window") == 0 ||
|
||||
strcasecmp(argv[0], "container") == 0) {
|
||||
--argc; ++argv;
|
||||
--argc;
|
||||
if (argc > 0) {
|
||||
++argv;
|
||||
}
|
||||
}
|
||||
|
||||
if (strcasecmp(argv[0], "to") == 0) {
|
||||
--argc; ++argv;
|
||||
--argc;
|
||||
if (argc > 0) {
|
||||
++argv;
|
||||
}
|
||||
}
|
||||
|
||||
if (!argc) {
|
||||
|
|
Loading…
Reference in a new issue