Merge pull request #89 from jalmeroth/fix/screenlock-macos

chore: fix screenlock
This commit is contained in:
Hrvoje Čavrak 2024-04-15 12:03:23 +02:00 committed by GitHub
commit 35002c90eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ void screenlock_hotkey_handler(device_t *state, hid_keyboard_report_t *report) {
break;
}
if (global_state.active_output == out) {
if (BOARD_ROLE == out) {
queue_kbd_report(&lock_report, state);
release_all_keys(state);
} else {