diff options
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 { | |||
37 | struct pointer_tiling { | 37 | struct pointer_tiling { |
38 | bool resize; | 38 | bool resize; |
39 | swayc_t *init_view; | 39 | swayc_t *init_view; |
40 | struct wlc_origin *lock_pos; | 40 | struct wlc_origin lock_pos; |
41 | } tiling; | 41 | } tiling; |
42 | struct pointer_lock { | 42 | struct pointer_lock { |
43 | // Lock movement for certain edges | ||
43 | bool left; | 44 | bool left; |
44 | bool right; | 45 | bool right; |
45 | bool top; | 46 | bool top; |
46 | bool bottom; | 47 | bool bottom; |
48 | // Lock movement in certain directions | ||
49 | bool temp_left; | ||
50 | bool temp_right; | ||
51 | bool temp_up; | ||
52 | bool temp_down; | ||
47 | } lock; | 53 | } lock; |
48 | } pointer_state; | 54 | } pointer_state; |
49 | 55 | ||