diff options
author | Simon Ser <contact@emersion.fr> | 2021-08-07 13:48:04 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-09-05 22:06:25 +0200 |
commit | 62924cc52385357f9c865379ee9883107d0f7d63 (patch) | |
tree | 4820a4b3724a3826474b2c5a753bd1e70a02df94 /include | |
parent | 55ca93469cfaa5ca1d9b6e4c164b23ef55763eb5 (diff) |
keyboard: add wlr_keyboard.keymap_fd
This exposes a read-only FD with the keymap.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index b5111462..ea16c432 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -53,6 +53,7 @@ struct wlr_keyboard { char *keymap_string; size_t keymap_size; + int keymap_fd; struct xkb_keymap *keymap; struct xkb_state *xkb_state; xkb_led_index_t led_indexes[WLR_LED_COUNT]; |