Fix wlr_seat; add to example compositor

This commit is contained in:
nyorain 2017-08-17 12:55:59 +02:00
parent af5db7a44c
commit ad22b4874d
6 changed files with 165 additions and 35 deletions

View file

@ -104,7 +104,7 @@ static void update_velocities(struct compositor_state *state,
}
static void handle_keyboard_key(struct keyboard_state *kbstate,
xkb_keysym_t sym, enum wlr_key_state key_state) {
uint32_t keycode, xkb_keysym_t sym, enum wlr_key_state key_state) {
// NOTE: It may be better to simply refer to our key state during each frame
// and make this change in pixels/sec^2
// Also, key repeat