Merge pull request #111 from Luminarys/master

Added in proper resize locking
This commit is contained in:
Drew DeVault 2015-08-21 12:23:53 -04:00
commit 1c38b7a8d2
3 changed files with 69 additions and 17 deletions

View file

@ -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;