summaryrefslogtreecommitdiffstats
path: root/layout-set.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-set.c
parent067604bf8cb23c1a208d26d94dbae7c2ab46dabf (diff)
Make a best effort to set xpixel and ypixel for each pane and add
formats for them.
Diffstat (limited to 'layout-set.c')
-rw-r--r--layout-set.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/layout-set.c b/layout-set.c
index 82247149..f712b059 100644
--- a/layout-set.c
+++ b/layout-set.c
@@ -163,7 +163,7 @@ layout_set_even(struct window *w, enum layout_type type)
layout_print_cell(w->layout_root, __func__, 1);
- window_resize(w, lc->sx, lc->sy);
+ window_resize(w, lc->sx, lc->sy, -1, -1);
notify_window("window-layout-changed", w);
server_redraw_window(w);
}
@@ -262,7 +262,7 @@ layout_set_main_h(struct window *w)
layout_print_cell(w->layout_root, __func__, 1);
- window_resize(w, lc->sx, lc->sy);
+ window_resize(w, lc->sx, lc->sy, -1, -1);
notify_window("window-layout-changed", w);
server_redraw_window(w);
}
@@ -349,7 +349,7 @@ layout_set_main_v(struct window *w)
layout_print_cell(w->layout_root, __func__, 1);
- window_resize(w, lc->sx, lc->sy);
+ window_resize(w, lc->sx, lc->sy, -1, -1);
notify_window("window-layout-changed", w);
server_redraw_window(w);
}
@@ -458,7 +458,7 @@ layout_set_tiled(struct window *w)
layout_print_cell(w->layout_root, __func__, 1);
- window_resize(w, lc->sx, lc->sy);
+ window_resize(w, lc->sx, lc->sy, -1, -1);
notify_window("window-layout-changed", w);
server_redraw_window(w);
}