aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/input_state.h2
-rw-r--r--sway/input_state.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/input_state.h b/include/input_state.h
index 528d5e12..27a82809 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 28a8b2f0..5119930a 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;