mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04: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
|
|
@ -630,7 +630,7 @@ static void handle_request_activate(struct wl_listener *listener, void *data) {
|
|||
if (!xsurface->mapped) {
|
||||
return;
|
||||
}
|
||||
view_request_activate(view);
|
||||
view_request_activate(view, NULL);
|
||||
|
||||
transaction_commit_dirty();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue