|
|
|
@ -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);
|
|
|
|
|