Rewrite of resize command to make it more sane

This commit is contained in:
Luminarys 2015-08-20 21:37:59 -05:00
parent c9935507f2
commit f589731f29
5 changed files with 60 additions and 47 deletions

View file

@ -33,12 +33,12 @@ struct sway_container {
enum swayc_layouts layout;
// Not including borders or margins
int width, height;
double width, height;
// Used for setting floating geometry
int desired_width, desired_height;
int x, y;
double x, y;
bool visible;
bool is_floating;