aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h8
1 files changed, 8 insertions, 0 deletions
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,
295bool seatop_allows_set_cursor(struct sway_seat *seat); 295bool 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 */
301struct sway_keyboard_shortcuts_inhibitor *
302keyboard_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 */