aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-06 12:56:21 +0200
committerGitHub <noreply@github.com>2018-09-06 12:56:21 +0200
commit8e2a2e5ca457c73a62857bd9860c8e34d07ab78e (patch)
treeff0b87cfe7158e00501e9dc8a571e3b8cce2dbe0 /include/sway/input/seat.h
parent6ab38ba098cbdbc88dd0460dcd24b24c2c548d07 (diff)
parent908095ef9a479cafaf7d815824f243b4576ff1bb (diff)
Merge pull request #2589 from RyanDwyer/seat-set-focus-type
Introduce seat_set_focus_container and seat_set_focus_workspace
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 8a7e5450..b07d200d 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -102,6 +102,12 @@ void seat_configure_xcursor(struct sway_seat *seat);
void seat_set_focus(struct sway_seat *seat, struct sway_node *node);
+void seat_set_focus_container(struct sway_seat *seat,
+ struct sway_container *con);
+
+void seat_set_focus_workspace(struct sway_seat *seat,
+ struct sway_workspace *ws);
+
void seat_set_focus_warp(struct sway_seat *seat,
struct sway_node *node, bool warp, bool notify);