diff --git a/src/config/parse_config.h b/src/config/parse_config.h index 4da82c5..2e5549b 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -3316,5 +3316,5 @@ int reload_config(const Arg *arg) { parse_config(); reset_option(); printstatus(); - return 0; + return 1; } diff --git a/src/mango.c b/src/mango.c index 45a0e64..ae84091 100644 --- a/src/mango.c +++ b/src/mango.c @@ -3435,13 +3435,14 @@ keybinding(uint32_t state, bool locked, uint32_t mods, xkb_keysym_t sym, keycode == k->keysymcode.keycode.keycode3))) && k->func) { - isbreak = k->func(&k->arg); - if (!k->ispassapply) handled = 1; else handled = 0; + isbreak = k->func(&k->arg); + + if (isbreak) break; }