diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/input/seat.h | 8 | ||||
-rw-r--r-- | include/sway/tree/view.h | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 3fde0893..4a2f8c20 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -164,6 +164,7 @@ sway_cmd cmd_resize; | |||
164 | sway_cmd cmd_scratchpad; | 164 | sway_cmd cmd_scratchpad; |
165 | sway_cmd cmd_seamless_mouse; | 165 | sway_cmd cmd_seamless_mouse; |
166 | sway_cmd cmd_set; | 166 | sway_cmd cmd_set; |
167 | sway_cmd cmd_shortcuts_inhibitor; | ||
167 | sway_cmd cmd_show_marks; | 168 | sway_cmd cmd_show_marks; |
168 | sway_cmd cmd_smart_borders; | 169 | sway_cmd cmd_smart_borders; |
169 | sway_cmd cmd_smart_gaps; | 170 | sway_cmd cmd_smart_gaps; |
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index fa232aa2..6a46fa91 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -295,6 +295,14 @@ void seatop_render(struct sway_seat *seat, struct sway_output *output, | |||
295 | bool seatop_allows_set_cursor(struct sway_seat *seat); | 295 | bool seatop_allows_set_cursor(struct sway_seat *seat); |
296 | 296 | ||
297 | /** | 297 | /** |
298 | * Returns the keyboard shortcuts inhibitor that applies to the given surface | ||
299 | * or NULL if none exists. | ||
300 | */ | ||
301 | struct sway_keyboard_shortcuts_inhibitor * | ||
302 | keyboard_shortcuts_inhibitor_get_for_surface(const struct sway_seat *seat, | ||
303 | const struct wlr_surface *surface); | ||
304 | |||
305 | /** | ||
298 | * Returns the keyboard shortcuts inhibitor that applies to the currently | 306 | * Returns the keyboard shortcuts inhibitor that applies to the currently |
299 | * focused surface of a seat or NULL if none exists. | 307 | * focused surface of a seat or NULL if none exists. |
300 | */ | 308 | */ |
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 4d3532d2..9230f456 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -110,6 +110,8 @@ struct sway_view { | |||
110 | struct wl_listener surface_new_subsurface; | 110 | struct wl_listener surface_new_subsurface; |
111 | 111 | ||
112 | int max_render_time; // In milliseconds | 112 | int max_render_time; // In milliseconds |
113 | |||
114 | enum seat_config_shortcuts_inhibit shortcuts_inhibit; | ||
113 | }; | 115 | }; |
114 | 116 | ||
115 | struct sway_xdg_shell_view { | 117 | struct sway_xdg_shell_view { |