summaryrefslogtreecommitdiffstats
path: root/layout-custom.c
diff options
context:
space:
mode:
authornicm <nicm>2019-11-28 09:45:15 +0000
committernicm <nicm>2019-11-28 09:45:15 +0000
commit2349b1dbef7cd0b4a165cd234d6757c34d5e02e6 (patch)
tree7d051ac6498399b82bb4418c87bad8fb01d831ec /layout-custom.c
parent067604bf8cb23c1a208d26d94dbae7c2ab46dabf (diff)
Make a best effort to set xpixel and ypixel for each pane and add
formats for them.
Diffstat (limited to 'layout-custom.c')
-rw-r--r--layout-custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout-custom.c b/layout-custom.c
index d7371292..097dabe6 100644
--- a/layout-custom.c
+++ b/layout-custom.c
@@ -221,7 +221,7 @@ layout_parse(struct window *w, const char *layout)
return (-1);
/* Resize to the layout size. */
- window_resize(w, lc->sx, lc->sy);
+ window_resize(w, lc->sx, lc->sy, -1, -1);
/* Destroy the old layout and swap to the new. */
layout_free_cell(w->layout_root);