diff options
| author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 21:15:32 -0500 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2019-01-13 21:16:47 -0500 |
| commit | b90637e2a6e854d586b977ed9b80b806edeb12dd (patch) | |
| tree | fa4d90324daf36d01850d7e8e90dce4b45602c40 /include/seat.h | |
| parent | 43435cd7317e24bd57a9d154f18c7fd9f334418e (diff) | |
Convert swaylock into standalone project
Diffstat (limited to 'include/seat.h')
| -rw-r--r-- | include/seat.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/seat.h b/include/seat.h new file mode 100644 index 0000000..c79afcd --- /dev/null +++ b/include/seat.h @@ -0,0 +1,21 @@ +#ifndef _SWAYLOCK_SEAT_H +#define _SWAYLOCK_SEAT_H +#include <xkbcommon/xkbcommon.h> + +struct swaylock_xkb { + bool caps_lock; + bool control; + struct xkb_state *state; + struct xkb_context *context; + struct xkb_keymap *keymap; +}; + +struct swaylock_seat { + struct swaylock_state *state; + struct wl_pointer *pointer; + struct wl_keyboard *keyboard; +}; + +extern const struct wl_seat_listener seat_listener; + +#endif |
