This commit is contained in:
twinaphex 2017-01-10 20:05:53 +01:00
parent 1eb17b6315
commit 5978cf89de

View File

@ -57,7 +57,6 @@ void free_xkb(void)
int init_xkb(int fd, size_t size)
{
char *map_str;
settings_t *settings = config_get_ptr();
mod_map_idx = (xkb_mod_index_t *)calloc(MOD_MAP_SIZE, sizeof(xkb_mod_index_t));
if (!mod_map_idx)
@ -82,8 +81,9 @@ int init_xkb(int fd, size_t size)
}
else
{
struct string_list *list = NULL;
struct string_list *list = NULL;
struct xkb_rule_names rule = {0};
settings_t *settings = config_get_ptr();
rule.rules = "evdev";