refactor: cleanup code
This commit is contained in:
parent
9e53955336
commit
b0a3ce65e7
2
diyac.c
2
diyac.c
@ -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
2
seat.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user