From cfee31cf75a296611de130fcd8b2072c3168e487 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 19 Aug 2007 13:15:18 +0000 Subject: wins_reset() updated to handle notification bar reset --- src/wins.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wins.c b/src/wins.c index 4759dec..9b0f4c1 100755 --- a/src/wins.c +++ b/src/wins.c @@ -1,4 +1,4 @@ -/* $Id: wins.c,v 1.5 2007/08/15 15:31:52 culot Exp $ */ +/* $Id: wins.c,v 1.6 2007/08/19 13:15:18 culot Exp $ */ /* * Calcurse - text-based organizer @@ -380,9 +380,15 @@ wins_update(void) void wins_reset(void) { + if (notify_bar()) + notify_stop_main_thread(); endwin(); refresh(); curs_set(0); wins_reinit(); + if (notify_bar()) { + notify_start_main_thread(); + notify_check_next_app(); + } wins_update(); } -- cgit v1.2.3-70-g09d2