wins_reset() updated to handle notification bar reset

This commit is contained in:
Frederic Culot 2007-08-19 13:15:18 +00:00
parent 116d34a177
commit cfee31cf75

View File

@ -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 * Calcurse - text-based organizer
@ -380,9 +380,15 @@ wins_update(void)
void void
wins_reset(void) wins_reset(void)
{ {
if (notify_bar())
notify_stop_main_thread();
endwin(); endwin();
refresh(); refresh();
curs_set(0); curs_set(0);
wins_reinit(); wins_reinit();
if (notify_bar()) {
notify_start_main_thread();
notify_check_next_app();
}
wins_update(); wins_update();
} }