summaryrefslogtreecommitdiffstats
path: root/sway/input_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input_state.c')
-rw-r--r--sway/input_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input_state.c b/sway/input_state.c
index 7f312c54..ef5d6df0 100644
--- a/sway/input_state.c
+++ b/sway/input_state.c
@@ -48,7 +48,7 @@ void release_key(keycode key) {
48 } 48 }
49} 49}
50 50
51struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0, 0}}; 51struct pointer_state pointer_state = {0, 0, {0, 0}, {0}, {0, 0, 0, 0}};
52 52
53static struct wlc_geometry saved_floating; 53static struct wlc_geometry saved_floating;
54 54
@@ -72,4 +72,3 @@ void reset_floating(swayc_t *view) {
72 pointer_state.floating = (struct pointer_floating){0,0}; 72 pointer_state.floating = (struct pointer_floating){0,0};
73 pointer_state.lock = (struct pointer_lock){0,0,0,0}; 73 pointer_state.lock = (struct pointer_lock){0,0,0,0};
74} 74}
75