summaryrefslogtreecommitdiff
path: root/sway/input_state.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-21 07:12:05 -0400
committerDrew DeVault <[email protected]>2015-08-21 07:12:05 -0400
commit464b49eda26f6a518bda39a8d07e1d9b0f498897 (patch)
tree7d0c55221b3028c2843da88b41029abac864b4a5 /sway/input_state.c
parentcc5713aee6525fd1783c1a9280079f7e9abcd882 (diff)
parent96ab21b2766096bdb42d79a0169d42b9ff00e2fb (diff)
Merge pull request #101 from Luminarys/master
Added in basic resizing command.
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) {
}
}
-struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0, 0}};
+struct pointer_state pointer_state = {0, 0, {0, 0}, {0}, {0, 0, 0, 0}};
static struct wlc_geometry saved_floating;
@@ -72,4 +72,3 @@ void reset_floating(swayc_t *view) {
pointer_state.floating = (struct pointer_floating){0,0};
pointer_state.lock = (struct pointer_lock){0,0,0,0};
}
-