aboutsummaryrefslogtreecommitdiff
path: root/layout-set.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-11-28 12:18:41 +0000
committerThomas Adam <thomas@xteddy.org>2019-11-28 12:18:41 +0000
commit5f5f029e3b3a782dc616778739b2801b00b17c0e (patch)
treefad35dccc37c54e45d0ecc497d3b915dd7b835aa /layout-set.c
parentc13838436e6883d191374f1628e675bfbb8c8aeb (diff)
parentfa409194d3dfe0095bf6572a253772f2825f5dec (diff)
downloadrtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.tar.gz
rtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.tar.bz2
rtmux-5f5f029e3b3a782dc616778739b2801b00b17c0e.zip
Merge branch 'obsd-master'
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);
}