mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
keyboard: generalize keymap data
Add a keymap_format field and rename keymap_string to keymap_data.
This commit is contained in:
parent
5ba6cf517b
commit
0f2b95af26
4 changed files with 23 additions and 14 deletions
|
|
@ -54,7 +54,8 @@ struct wlr_keyboard {
|
|||
const struct wlr_keyboard_impl *impl;
|
||||
struct wlr_keyboard_group *group;
|
||||
|
||||
char *keymap_string;
|
||||
enum xkb_keymap_format keymap_format;
|
||||
char *keymap_data;
|
||||
size_t keymap_size;
|
||||
int keymap_fd;
|
||||
struct xkb_keymap *keymap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue