diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-08-21 11:19:06 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-08-21 11:19:06 -0500 |
| commit | 1b1023a962fa98dd2b5b36187d8168c4aa2dc927 (patch) | |
| tree | f72bc376f6e06014c6d330586c51f74c81af581c /include/input_state.h | |
| parent | 77bc19d1fc877cbfa6d0ddaa549700e87a40e066 (diff) | |
Added in proper resize locking
Diffstat (limited to 'include/input_state.h')
| -rw-r--r-- | include/input_state.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/input_state.h b/include/input_state.h index 000996e0..04fde42d 100644 --- a/include/input_state.h +++ b/include/input_state.h @@ -37,13 +37,19 @@ extern struct pointer_state { struct pointer_tiling { bool resize; swayc_t *init_view; - struct wlc_origin *lock_pos; + struct wlc_origin lock_pos; } tiling; struct pointer_lock { + // Lock movement for certain edges bool left; bool right; bool top; bool bottom; + // Lock movement in certain directions + bool temp_left; + bool temp_right; + bool temp_up; + bool temp_down; } lock; } pointer_state; |
