summaryrefslogtreecommitdiffstats
path: root/sway/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/log.c')
-rw-r--r--sway/log.c5
1 files changed, 3 insertions, 2 deletions
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) {
159 c->layout == L_STACKED ? "Stacked|": 159 c->layout == L_STACKED ? "Stacked|":
160 c->layout == L_FLOATING ? "Floating|": 160 c->layout == L_FLOATING ? "Floating|":
161 "Unknown|"); 161 "Unknown|");
162 fprintf(stderr, "w:%f|h:%f|", c->width, c->height); 162 fprintf(stderr, "w:%.f|h:%.f|", c->width, c->height);
163 fprintf(stderr, "x:%f|y:%f|", c->x, c->y); 163 fprintf(stderr, "x:%.f|y:%.f|", c->x, c->y);
164 fprintf(stderr, "g:%d|",c->gaps);
164 fprintf(stderr, "vis:%c|", c->visible?'t':'f'); 165 fprintf(stderr, "vis:%c|", c->visible?'t':'f');
165 fprintf(stderr, "name:%.16s|", c->name); 166 fprintf(stderr, "name:%.16s|", c->name);
166 fprintf(stderr, "children:%d\n",c->children?c->children->length:0); 167 fprintf(stderr, "children:%d\n",c->children?c->children->length:0);