mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Return false on wlr_keyboard_set_keymap() failure
This allows users of the library to handle or ignore the error as they see fit.
This commit is contained in:
parent
c682d97841
commit
8707a9b7ec
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue