aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <ronan@rjp.ie>2022-11-30 12:02:10 -0700
committerLibravatar Ronan Pigott <ronan@rjp.ie>2023-02-05 00:53:47 -0700
commit842609da6432c054c19c8d10f1660085653daa64 (patch)
tree679a42fc407a1e11ef1f29daa755489202fcf54e /include/sway/tree/view.h
parentci: install hwdata-dev on Alpine (diff)
downloadsway-842609da6432c054c19c8d10f1660085653daa64.tar.gz
sway-842609da6432c054c19c8d10f1660085653daa64.tar.zst
sway-842609da6432c054c19c8d10f1660085653daa64.zip
view: make request_activate take a seat
This way we can move focus on the same seat an activation token originates from.
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 273ff364..7fc2d95d 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -271,7 +271,7 @@ void view_set_activated(struct sway_view *view, bool activated);
271/** 271/**
272 * Called when the view requests to be focused. 272 * Called when the view requests to be focused.
273 */ 273 */
274void view_request_activate(struct sway_view *view); 274void view_request_activate(struct sway_view *view, struct sway_seat *seat);
275 275
276/** 276/**
277 * If possible, instructs the client to change their decoration mode. 277 * If possible, instructs the client to change their decoration mode.