diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 5 | ||||
-rw-r--r-- | include/sway/input/seat.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 57ae3c63..9736a665 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -559,6 +559,11 @@ bool read_config(FILE *file, struct sway_config *config, | |||
559 | void run_deferred_commands(void); | 559 | void run_deferred_commands(void); |
560 | 560 | ||
561 | /** | 561 | /** |
562 | * Run the binding commands that were deferred when initializing the inputs | ||
563 | */ | ||
564 | void run_deferred_bindings(void); | ||
565 | |||
566 | /** | ||
562 | * Adds a warning entry to the swaynag instance used for errors. | 567 | * Adds a warning entry to the swaynag instance used for errors. |
563 | */ | 568 | */ |
564 | void config_add_swaynag_warning(char *fmt, ...); | 569 | void config_add_swaynag_warning(char *fmt, ...); |
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index eb6c09a1..c963de9b 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -78,6 +78,8 @@ struct sway_seat { | |||
78 | 78 | ||
79 | uint32_t last_button_serial; | 79 | uint32_t last_button_serial; |
80 | 80 | ||
81 | list_t *deferred_bindings; // struct sway_binding | ||
82 | |||
81 | struct wl_listener focus_destroy; | 83 | struct wl_listener focus_destroy; |
82 | struct wl_listener new_node; | 84 | struct wl_listener new_node; |
83 | struct wl_listener request_start_drag; | 85 | struct wl_listener request_start_drag; |