aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
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 /sway/desktop/xwayland.c
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 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index e15a3341..9c29f66b 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -630,7 +630,7 @@ static void handle_request_activate(struct wl_listener *listener, void *data) {
630 if (!xsurface->mapped) { 630 if (!xsurface->mapped) {
631 return; 631 return;
632 } 632 }
633 view_request_activate(view); 633 view_request_activate(view, NULL);
634 634
635 transaction_commit_dirty(); 635 transaction_commit_dirty();
636} 636}