From d5659948f1105b99d08542de7c370ba908b8cec8 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Mon, 19 Sep 2022 23:20:02 +0200 Subject: allow pointer_constraints on layer_shell surfaces --- include/sway/input/seat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index c2041742..e795ad5e 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -192,6 +192,8 @@ void seat_set_exclusive_client(struct sway_seat *seat, struct sway_node *seat_get_focus(struct sway_seat *seat); +struct wlr_surface *seat_get_focused_surface(struct sway_seat *seat); + struct sway_workspace *seat_get_focused_workspace(struct sway_seat *seat); // If a scratchpad container is fullscreen global, this can be used to try to -- cgit v1.2.3-70-g09d2