wins_reset() modified to avoid blank screen when resizing window under Linux

This commit is contained in:
Frederic Culot 2007-10-16 19:15:43 +00:00
parent 788ba6fc5c
commit fe8935e3fc

View File

@ -1,4 +1,4 @@
/* $Id: wins.c,v 1.6 2007/08/19 13:15:18 culot Exp $ */ /* $Id: wins.c,v 1.7 2007/10/16 19:15:43 culot Exp $ */
/* /*
* Calcurse - text-based organizer * Calcurse - text-based organizer
@ -380,15 +380,9 @@ 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();
} }