aboutsummaryrefslogtreecommitdiff
path: root/seat.c
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-23 23:21:22 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-23 23:21:22 -0400
commitb07d30e30de90f7cb17e7e91ed71ac5af9326722 (patch)
treece102bdacf09f18dca8a00d98374234847758683 /seat.c
parent34e31d33defb922ad464857487469c5659bbefcc (diff)
replace all spaces with tabs for indentation
Diffstat (limited to 'seat.c')
-rw-r--r--seat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/seat.c b/seat.c
index fb5ffb1..9a04681 100644
--- a/seat.c
+++ b/seat.c
@@ -11,14 +11,14 @@ void setup_seat(client_state* state) {
// listeners
void capabilities(void *data, struct wl_seat *wl_seat, uint32_t capabilities) {
- client_state* state = data;
+ client_state* state = data;
setup_data_device(state);
- if (capabilities & WL_SEAT_CAPABILITY_KEYBOARD && !state->keyboard) {
+ if (capabilities & WL_SEAT_CAPABILITY_KEYBOARD && !state->keyboard) {
setup_keyboard(state);
- }
- if (capabilities & WL_SEAT_CAPABILITY_POINTER && !state->pointer) {
+ }
+ if (capabilities & WL_SEAT_CAPABILITY_POINTER && !state->pointer) {
setup_pointer(state);
- }
+ }
}
void name(void *data, struct wl_seat *wl_seat, const char *name) {