mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
toplevel-management: ignore inert seats
This commit is contained in:
parent
e8d56ca415
commit
abcab0331f
1 changed files with 4 additions and 1 deletions
|
|
@ -107,8 +107,11 @@ static void foreign_toplevel_handle_activate(struct wl_client *client,
|
|||
if (!toplevel) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct wlr_seat_client *seat_client = wlr_seat_client_from_resource(seat);
|
||||
if (!seat_client) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct wlr_foreign_toplevel_handle_v1_activated_event event = {
|
||||
.toplevel = toplevel,
|
||||
.seat = seat_client->seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue