From 60dda91b9f417c14e675dc653a803a31165676ab Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 12 Sep 2003 03:14:44 +0000 Subject: [PATCH] * main.c (midnight_callback): Don't redraw dirty panels if the menubar is active. --- src/ChangeLog | 3 +++ src/main.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index bbc93a5ac..53c4b552e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2003-09-11 Pavel Roskin + * main.c (midnight_callback): Don't redraw dirty panels if the + menubar is active. + * dlg.c (add_widget): New, safer implementation. Don't rely on the position of the first widget. Disable insertion into running dialogs - it's unused and cannot be tested. diff --git a/src/main.c b/src/main.c index 3205f3a27..bfb53c801 100644 --- a/src/main.c +++ b/src/main.c @@ -1607,7 +1607,8 @@ midnight_callback (struct Dlg_head *h, dlg_msg_t msg, int parm) return MSG_HANDLED; case DLG_POST_KEY: - update_dirty_panels (); + if (!the_menubar->active) + update_dirty_panels (); return MSG_HANDLED; default: