mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
Implement ext-session-lock-v1
This commit is contained in:
parent
70d30ac72b
commit
519038a7e9
11 changed files with 290 additions and 7 deletions
|
|
@ -34,7 +34,8 @@ 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;
|
||||
bool input_inhibited = seat->exclusive_client != NULL ||
|
||||
server.session_lock.locked;
|
||||
|
||||
list_t *bindings = config->current_mode->switch_bindings;
|
||||
struct sway_switch_binding *matched_binding = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue