diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 2229d37c..16c1d2ff 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1525,25 +1525,25 @@ static void _win_handle_switch(const wint_t * const ch) { if (*ch == KEY_F(1)) { - ui_switch_win(0); - } else if (*ch == KEY_F(2)) { ui_switch_win(1); - } else if (*ch == KEY_F(3)) { + } else if (*ch == KEY_F(2)) { ui_switch_win(2); - } else if (*ch == KEY_F(4)) { + } else if (*ch == KEY_F(3)) { ui_switch_win(3); - } else if (*ch == KEY_F(5)) { + } else if (*ch == KEY_F(4)) { ui_switch_win(4); - } else if (*ch == KEY_F(6)) { + } else if (*ch == KEY_F(5)) { ui_switch_win(5); - } else if (*ch == KEY_F(7)) { + } else if (*ch == KEY_F(6)) { ui_switch_win(6); - } else if (*ch == KEY_F(8)) { + } else if (*ch == KEY_F(7)) { ui_switch_win(7); - } else if (*ch == KEY_F(9)) { + } else if (*ch == KEY_F(8)) { ui_switch_win(8); - } else if (*ch == KEY_F(10)) { + } else if (*ch == KEY_F(9)) { ui_switch_win(9); + } else if (*ch == KEY_F(10)) { + ui_switch_win(0); } } |