From f25c6b312b2f4176a1936436e23140c791919ceb Mon Sep 17 00:00:00 2001 From: taiyu Date: Sat, 5 Sep 2015 20:48:52 -0700 Subject: gap resize --- sway/log.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sway/log.c') diff --git a/sway/log.c b/sway/log.c index fed1239c..cf5c2092 100644 --- a/sway/log.c +++ b/sway/log.c @@ -159,8 +159,9 @@ static void container_log(const swayc_t *c) { c->layout == L_STACKED ? "Stacked|": c->layout == L_FLOATING ? "Floating|": "Unknown|"); - fprintf(stderr, "w:%f|h:%f|", c->width, c->height); - fprintf(stderr, "x:%f|y:%f|", c->x, c->y); + fprintf(stderr, "w:%.f|h:%.f|", c->width, c->height); + fprintf(stderr, "x:%.f|y:%.f|", c->x, c->y); + fprintf(stderr, "g:%d|",c->gaps); fprintf(stderr, "vis:%c|", c->visible?'t':'f'); fprintf(stderr, "name:%.16s|", c->name); fprintf(stderr, "children:%d\n",c->children?c->children->length:0); -- cgit v1.2.3