diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-22 00:49:23 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-13 10:11:35 +0100 |
commit | dbd70faf2e0a8115f681995801fd4b82f4682604 (patch) | |
tree | f9c5f8dbf55396f1d7df172bf57386e13a3ce2f7 /sway/desktop | |
parent | a6ef12d968111d4d8c480124575d9d86ae61e470 (diff) |
input/seat: drop exclusive_client
This was a input-inhibit concept.
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/layer_shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 979c4449..31d8558c 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -305,9 +305,8 @@ static void handle_output_destroy(struct wl_listener *listener, void *data) { struct sway_seat *seat = input_manager_get_default_seat(); struct wl_client *client = wl_resource_get_client(sway_layer->layer_surface->resource); - bool set_focus = seat->exclusive_client == client; - if (set_focus) { + if (!server.session_lock.locked) { struct sway_layer_surface *layer = find_mapped_layer_by_client(client, sway_layer->layer_surface->output); if (layer) { |