diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-09-19 23:20:02 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-09-19 23:20:02 +0200 |
| commit | 57e5b3d53533366c78b452eb2ac6c03cd154f6d6 (patch) | |
| tree | 46c7f81e6d3c657d411fbfdff060722956b35147 /include | |
| parent | 8b669df425c04774249a0f74466ecdb4c4ed4bb9 (diff) | |
allow pointer_constraints on layer_shell surfaces
Diffstat (limited to 'include')
| -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 |
