diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-24 00:18:18 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-03-24 00:22:50 +0100 |
commit | 8707a9b7ecbba0321804604d9ea954a46ecced21 (patch) | |
tree | 79a3e351330679496763aa0d02054184b3bd2e0d /include/wlr | |
parent | c682d97841235cc328f044a4e2f2272f7a32b226 (diff) |
Return false on wlr_keyboard_set_keymap() failure
This allows users of the library to handle or ignore the error as they
see fit.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index 9bd4acd9..616e2218 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -103,7 +103,7 @@ struct wlr_event_keyboard_key { enum wlr_key_state state; }; -void wlr_keyboard_set_keymap(struct wlr_keyboard *kb, +bool wlr_keyboard_set_keymap(struct wlr_keyboard *kb, struct xkb_keymap *keymap); /** * Sets the keyboard repeat info. `rate` is in key repeats/second and delay is |