refactor: cleanup code

This commit is contained in:
DL 2025-06-11 11:42:39 +02:00
parent 9e53955336
commit b0a3ce65e7
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ int main(int argc, char *argv[])
exit_with_session = 1;
break;
default:
printf("Usage: %s [-s] startup command]\n", argv[0]);
help();
return 0;
}
}

2
seat.c
View File

@ -96,7 +96,7 @@ static void keyboard_handle_key(
struct wlr_seat *seat = keyboard->input.seat->wlr_seat;
/* Translate libinput keycode -> xkbcommon */
wlr_log(WLR_INFO, "receive keycode %d", event->keycode);
// wlr_log(WLR_INFO, "receive keycode %d", event->keycode);
uint32_t keycode = event->keycode + 8;
/* Get a list of keysyms based on the keymap for this keyboard */
const xkb_keysym_t *syms;