summaryrefslogtreecommitdiff
path: root/src/notify.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-13 21:35:02 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:02:56 +0200
commit05ba450c3b58c095b1e4ed206c25654f29a33b5a (patch)
treef6df52f53a4e3149b3d214edd212fb8f8249d1c6 /src/notify.c
parent5eea05a2033c479c74ab70d77dc0a0d31233c59d (diff)
downloadcalcurse-05ba450c3b58c095b1e4ed206c25654f29a33b5a.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c
index 17d0345..541c5ba 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -786,7 +786,7 @@ void notify_config_bar(void)
if (resize) {
resize = 0;
wins_get_config();
- 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);