diff options
author | Ferdinand Schober <ferdinand.schober@fau.de> | 2022-09-19 23:20:02 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-10-09 10:07:51 +0200 |
commit | d5659948f1105b99d08542de7c370ba908b8cec8 (patch) | |
tree | 46c7f81e6d3c657d411fbfdff060722956b35147 /include/sway | |
parent | 07c827b4bed480bc6742d0de5903ea78c62c5f9b (diff) |
allow pointer_constraints on layer_shell surfaces
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/input/seat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |