diff options
author | nicm <nicm> | 2017-05-15 14:57:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-15 14:57:29 +0000 |
commit | b160de5cb4cf901e0d01594308f8f4f54df9e2a9 (patch) | |
tree | 39023df9f53b939cb3008a8dbc9ba385a0b296d5 | |
parent | cb5fcb3d22513fd20dc1f7c4c6b2da3b5cdd1a8c (diff) | |
download | rtmux-b160de5cb4cf901e0d01594308f8f4f54df9e2a9.tar.gz rtmux-b160de5cb4cf901e0d01594308f8f4f54df9e2a9.tar.bz2 rtmux-b160de5cb4cf901e0d01594308f8f4f54df9e2a9.zip |
Notify layout changed when choosing predefined layouts, from Joshua Brot.
-rw-r--r-- | layout-set.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layout-set.c b/layout-set.c index db621f61..7ba18fea 100644 --- a/layout-set.c +++ b/layout-set.c @@ -165,6 +165,7 @@ layout_set_even_h(struct window *w) layout_print_cell(w->layout_root, __func__, 1); + notify_window("window-layout-changed", w); server_redraw_window(w); } @@ -219,6 +220,7 @@ layout_set_even_v(struct window *w) layout_print_cell(w->layout_root, __func__, 1); + notify_window("window-layout-changed", w); server_redraw_window(w); } @@ -342,6 +344,7 @@ layout_set_main_h(struct window *w) layout_print_cell(w->layout_root, __func__, 1); + notify_window("window-layout-changed", w); server_redraw_window(w); } @@ -465,6 +468,7 @@ layout_set_main_v(struct window *w) layout_print_cell(w->layout_root, __func__, 1); + notify_window("window-layout-changed", w); server_redraw_window(w); } @@ -567,5 +571,6 @@ layout_set_tiled(struct window *w) layout_print_cell(w->layout_root, __func__, 1); + notify_window("window-layout-changed", w); server_redraw_window(w); } |