diff --git a/include/input_state.h b/include/input_state.h index 528d5e123..27a82809d 100644 --- a/include/input_state.h +++ b/include/input_state.h @@ -37,7 +37,7 @@ extern struct pointer_state { struct pointer_tiling { bool resize; swayc_t *init_view; - wlc_origin *lock_pos; + struct wlc_origin *lock_pos; } tiling; struct pointer_lock { bool left; diff --git a/sway/input_state.c b/sway/input_state.c index 28a8b2f00..5119930ad 100644 --- a/sway/input_state.c +++ b/sway/input_state.c @@ -48,7 +48,7 @@ void release_key(keycode key) { } } -struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0}, {0, 0, 0, 0}}; +struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0}, {0, 0, 0, 0}}; static struct wlc_geometry saved_floating;