From 05ba450c3b58c095b1e4ed206c25654f29a33b5a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 13 May 2014 21:35:02 +0200 Subject: Reduce flicker when resizing in option menus Do not update the main windows when resizing the terminal in the general options menu or in the notification options menu. 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 2b309a2..9bf8905 100644 --- a/src/custom.c +++ b/src/custom.c @@ -802,7 +802,7 @@ void custom_general_config(void) if (resize) { resize = 0; - wins_reset(); + wins_reset_noupdate(); listbox_resize(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col); listbox_draw_deco(&lb); delwin(win[STA].p); -- cgit v1.2.3-54-g00ecf