From 990897b2f098f3ed898919e3e66c8830c2e3b450 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 19 May 2014 10:54:50 +0200 Subject: Resize panels properly Rewrite the panel resize code and remove the code that reinitializes the caption and the selected item when the window is resized. Signed-off-by: Lukas Fleischer --- src/custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index 688ca21..4fc3fb5 100644 --- a/src/custom.c +++ b/src/custom.c @@ -303,7 +303,7 @@ void custom_sidebar_config(void) resize = 0; wins_reset(); } else { - wins_reinit_panels(); + wins_resize_panels(); wins_update_border(FLAG_ALL); wins_update_panels(FLAG_ALL); keys_display_bindings_bar(win[STA].p, bindings, -- cgit v1.2.3-54-g00ecf