diff options
author | 2015-08-21 07:12:05 -0400 | |
---|---|---|
committer | 2015-08-21 07:12:05 -0400 | |
commit | 464b49eda26f6a518bda39a8d07e1d9b0f498897 (patch) | |
tree | 7d0c55221b3028c2843da88b41029abac864b4a5 /sway/input_state.c | |
parent | Merge pull request #106 from FSMaxB/session-files (diff) | |
parent | Fixes to resizing and added in resize lock once boundaries are exceeded (diff) | |
download | sway-464b49eda26f6a518bda39a8d07e1d9b0f498897.tar.gz sway-464b49eda26f6a518bda39a8d07e1d9b0f498897.tar.zst sway-464b49eda26f6a518bda39a8d07e1d9b0f498897.zip |
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.c | 3 |
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 | ||
51 | struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0, 0}}; | 51 | struct pointer_state pointer_state = {0, 0, {0, 0}, {0}, {0, 0, 0, 0}}; |
52 | 52 | ||
53 | static struct wlc_geometry saved_floating; | 53 | static 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 | |||