summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-10-16 19:15:43 +0000
committerFrederic Culot <calcurse@culot.org>2007-10-16 19:15:43 +0000
commitfe8935e3fc0cbe2f0e25d48aa91eb4cdffdcc763 (patch)
tree29142c1dd80bf0f3206095cc7953626a6b8cf4cd
parent788ba6fc5cab0b0b88c2c032c4a32556fe79289b (diff)
downloadcalcurse-fe8935e3fc0cbe2f0e25d48aa91eb4cdffdcc763.zip
wins_reset() modified to avoid blank screen when resizing window under Linux
-rwxr-xr-xsrc/wins.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/wins.c b/src/wins.c
index 9b0f4c1..4858f1c 100755
--- a/src/wins.c
+++ b/src/wins.c
@@ -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
@@ -380,15 +380,9 @@ 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();
}