aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-04 15:59:11 +0100
committerSimon Ser <contact@emersion.fr>2023-12-13 10:11:35 +0100
commite8a02056079a6aa9bead020677667e51fc41a055 (patch)
tree531f12903ee6f12974c079acb535cf096a75335e /sway/input
parent607b8aed0c93a9101d9075b9c76e80460b6ed488 (diff)
input/seat: rename seat_set_exclusive_client()
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c3
1 files changed, 1 insertions, 2 deletions
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);