diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-01-14 19:03:32 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-01-14 19:05:48 +1000 |
commit | 22ac1c121ab1ed09ab82ed1586fdaf725823305c (patch) | |
tree | d990f45977d24f9ef55b3a724c80aa5d6f6b729e /sway/commands/mode.c | |
parent | 89ad3f2bbbb6f5f367387992eea5d5c6f7fa7642 (diff) |
Replace resize_axis with wlr_edges
This patch removes the resize_axis enum in favour of wlr_edges. As
wlr_edges has no `horizontal` or `vertical` value, it denotes these by
bitwise `or`ing the left/right and up/down values. Two constants are
defined to make it easier to refer to these.
This will allow the tiling resize seatop to utilise the functions in
this file. resize_axis was local to the resize command and couldn't be
exposed in function arguments.
Diffstat (limited to 'sway/commands/mode.c')
0 files changed, 0 insertions, 0 deletions