mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Parse bindings in config, execute bindings
This commit is contained in:
parent
d32018f1ac
commit
97d0fe8976
3 changed files with 94 additions and 8 deletions
|
|
@ -18,6 +18,17 @@ struct device_config {
|
|||
struct wl_list link;
|
||||
};
|
||||
|
||||
enum binding_config_action {
|
||||
BINDING_CONFIG_ACTION_QUIT,
|
||||
};
|
||||
|
||||
struct binding_config {
|
||||
xkb_keysym_t *keysyms;
|
||||
size_t keysyms_len;
|
||||
enum binding_config_action action;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct roots_config {
|
||||
// TODO: Multiple cursors, multiseat
|
||||
struct {
|
||||
|
|
@ -27,6 +38,7 @@ struct roots_config {
|
|||
|
||||
struct wl_list outputs;
|
||||
struct wl_list devices;
|
||||
struct wl_list bindings;
|
||||
char *config_path;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue