Commit 5f7c289f6a9ef1149fac5b8769b72e3a03345227 Parent: ade3fa2c13a0bc6f3e7fa6506bcb3680260e3ffb Author: mcol <mcol@posteo.net> Date: 2020-11-22 01:35:03 +0000 Committer: mcol <mcol@posteo.net> Committed: 2020-11-22 01:35:03 +0000 fallback global modifier to logo
src/config.c Modified
@@ -135,7 +135,8 @@ } } else if (!strcasecmp(s, "set_modifier")) { if ((s = strtok(NULL, " \t\n\r"))) { - server->mod = modifier_by_name(s); + int mod = modifier_by_name(s); + server->mod = (mod ? mod : WLR_MODIFIER_LOGO); } } else if (!strcasecmp(s, "zoom_min")) { if ((s = strtok(NULL, " \t\n\r")) && is_decimal(s)) {