diff options
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 8a37305a..83fe4322 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -478,6 +478,8 @@ cmd_wins(gchar **args, struct cmd_help_t help) int target_win = atoi(args[2]); if ((source_win == 1) || (target_win == 1)) { cons_show("Cannot move console window."); + } else if (source_win == 10 || target_win == 10) { + cons_show("Window 10 does not exist"); } else if (source_win != target_win) { gboolean swapped = ui_swap_wins(source_win, target_win); if (swapped) { |