mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
view: make request_activate take a seat
This way we can move focus on the same seat an activation token originates from.
This commit is contained in:
parent
0780d3a465
commit
842609da64
4 changed files with 12 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue