aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-08-19 13:15:18 +0000
committerFrederic Culot <calcurse@culot.org>2007-08-19 13:15:18 +0000
commitcfee31cf75a296611de130fcd8b2072c3168e487 (patch)
tree442d4ee7c9098f6ef4d9d20a0ad18d459777a3f9 /src
parent116d34a17763aca9dab6cd5b7ac53412a603806e (diff)
downloadcalcurse-cfee31cf75a296611de130fcd8b2072c3168e487.tar.gz
calcurse-cfee31cf75a296611de130fcd8b2072c3168e487.zip
wins_reset() updated to handle notification bar reset
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wins.c8
1 files changed, 7 insertions, 1 deletions
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();
}