Reload config+theme on SIGHUP

This commit is contained in:
Johan Malm 2020-09-25 19:42:40 +01:00
parent 745915c0ba
commit 1721b339da
6 changed files with 80 additions and 26 deletions

View file

@ -30,7 +30,8 @@ static bool handle_keybinding(struct server *server, uint32_t modifiers,
continue;
for (size_t i = 0; i < keybind->keysyms_len; i++) {
if (sym == keybind->keysyms[i]) {
action(server, keybind->action, keybind->command);
action(server, keybind->action,
keybind->command);
return true;
}
}