logo

inaban

Unnamed repository; edit this file 'description' to name the repository.
commit: e5a058a00a17537474bf7e9f1335cd19aa07e33c
parent: 1425a47140f31c45d2806765481909cc08eeffe9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Jul 2019 11:42:09 +0200

s/INABAN_MODBIND_SWITCH/INABAN_MODBIND_NEXT_VIEW/

Diffstat:

Mconfig.h2+-
Minaban.c2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h @@ -2,6 +2,6 @@ #define INABAN_CMD_LAUNCHER "bemenu-run" #define INABAN_CMD_TERMINAL "wlterm" #define INABAN_MODBIND_LAUNCHER XKB_KEY_p -#define INABAN_MODBIND_SWITCH XKB_KEY_ht +#define INABAN_MODBIND_NEXT_VIEW XKB_KEY_j #define INABAN_MODBIND_TERMINAL XKB_KEY_Return #define INABAN_MODBIND_TERMINATE XKB_KEY_Escape diff --git a/inaban.c b/inaban.c @@ -84,7 +84,7 @@ handle_keybinding(struct inaban_server *server, xkb_keysym_t sym) switch(sym) { case INABAN_MODBIND_TERMINATE: wl_display_terminate(server->wl_display); break; - case INABAN_MODBIND_SWITCH: + case INABAN_MODBIND_NEXT_VIEW: /* Cycle to the next view */ if(wl_list_length(&server->views) < 2) break; struct inaban_view *current_view = wl_container_of(server->views.next, current_view, link);