diff options
author | Frederic Culot <calcurse@culot.org> | 2007-08-19 13:15:18 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-08-19 13:15:18 +0000 |
commit | cfee31cf75a296611de130fcd8b2072c3168e487 (patch) | |
tree | 442d4ee7c9098f6ef4d9d20a0ad18d459777a3f9 | |
parent | 116d34a17763aca9dab6cd5b7ac53412a603806e (diff) | |
download | calcurse-cfee31cf75a296611de130fcd8b2072c3168e487.tar.gz calcurse-cfee31cf75a296611de130fcd8b2072c3168e487.zip |
wins_reset() updated to handle notification bar reset
-rwxr-xr-x | src/wins.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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(); } |