From e8a02056079a6aa9bead020677667e51fc41a055 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Dec 2023 15:59:11 +0100 Subject: input/seat: rename seat_set_exclusive_client() --- sway/input/seat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sway/input') diff --git a/sway/input/seat.c b/sway/input/seat.c index b269a4cd..31c9b72b 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1369,8 +1369,7 @@ void seat_set_focus_layer(struct sway_seat *seat, seat->focused_layer = layer; } -void seat_set_exclusive_client(struct sway_seat *seat, - struct wl_client *client) { +void seat_unfocus_unless_client(struct sway_seat *seat, struct wl_client *client) { if (seat->focused_layer) { if (wl_resource_get_client(seat->focused_layer->resource) != client) { seat_set_focus_layer(seat, NULL); -- cgit v1.2.3