aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-11-30 12:02:10 -0700
committerFurkan Sahin <furkan-dev@proton.me>2022-11-30 12:02:10 -0700
commitde472c10c1472dfcf96de35c0b2e460c69aa6c6c (patch)
tree679a42fc407a1e11ef1f29daa755489202fcf54e /include
parente86a8f47f5c01f3d4df02db0f956d2db82ba9cc3 (diff)
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')
-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);
/**
* Called when the view requests to be focused.
*/
-void view_request_activate(struct sway_view *view);
+void view_request_activate(struct sway_view *view, struct sway_seat *seat);
/**
* If possible, instructs the client to change their decoration mode.