input/seat: drop exclusive_client

This was a input-inhibit concept.
This commit is contained in:
Simon Ser 2023-11-22 00:49:23 +01:00
parent a6ef12d968
commit dbd70faf2e
6 changed files with 4 additions and 18 deletions

View file

@ -34,8 +34,7 @@ static bool sway_switch_trigger_test(enum sway_switch_trigger trigger,
static void execute_binding(struct sway_switch *sway_switch) {
struct sway_seat* seat = sway_switch->seat_device->sway_seat;
bool input_inhibited = seat->exclusive_client != NULL ||
server.session_lock.locked;
bool input_inhibited = server.session_lock.locked;
list_t *bindings = config->current_mode->switch_bindings;
struct sway_switch_binding *matched_binding = NULL;