aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/seat.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index ebb0cd43..921373d4 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -112,8 +112,16 @@ void seat_set_focus_container(struct sway_seat *seat,
void seat_set_focus_workspace(struct sway_seat *seat,
struct sway_workspace *ws);
+/**
+ * Manipulate the focus stack without triggering any other behaviour.
+ *
+ * This can be used to set focus_inactive by calling the function a second time
+ * with the real focus.
+ */
+void seat_set_raw_focus(struct sway_seat *seat, struct sway_node *node);
+
void seat_set_focus_warp(struct sway_seat *seat,
- struct sway_node *node, bool warp, bool notify);
+ struct sway_node *node, bool warp);
void seat_set_focus_surface(struct sway_seat *seat,
struct wlr_surface *surface, bool unfocus);