conf: fix using new xkbcommon-0.2.0 API
The xkbcommon API was changed for 0.2.0 release. But now it should be stable so we hopefully fixed it for the last time. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
1cd2e00bc1
commit
069e467913
@ -918,7 +918,7 @@ static int parse_single_grab(char *arg, unsigned int *mods,
|
||||
if (*end)
|
||||
*end = 0;
|
||||
|
||||
*keysym = xkb_keysym_from_name(start);
|
||||
*keysym = xkb_keysym_from_name(start, 0);
|
||||
if (!*keysym) {
|
||||
log_error("invalid key '%s'", start);
|
||||
return -EFAULT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user