diff options
Diffstat (limited to 'sway/input_state.c')
-rw-r--r-- | sway/input_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input_state.c b/sway/input_state.c index a7f88d4a..e592cfc1 100644 --- a/sway/input_state.c +++ b/sway/input_state.c | |||
@@ -41,7 +41,7 @@ void release_key(keycode key) { | |||
41 | } | 41 | } |
42 | } | 42 | } |
43 | 43 | ||
44 | struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0, 0}}; | 44 | struct pointer_state pointer_state = {0, 0, {0, 0}, {0}, {0, 0, 0, 0}}; |
45 | 45 | ||
46 | static struct wlc_geometry saved_floating; | 46 | static struct wlc_geometry saved_floating; |
47 | 47 | ||
@@ -65,4 +65,3 @@ void reset_floating(swayc_t *view) { | |||
65 | pointer_state.floating = (struct pointer_floating){0,0}; | 65 | pointer_state.floating = (struct pointer_floating){0,0}; |
66 | pointer_state.lock = (struct pointer_lock){0,0,0,0}; | 66 | pointer_state.lock = (struct pointer_lock){0,0,0,0}; |
67 | } | 67 | } |
68 | |||