* main.c (midnight_callback): Don't redraw dirty panels if the

menubar is active.
This commit is contained in:
Pavel Roskin 2003-09-12 03:14:44 +00:00
parent a3a8b91ced
commit 60dda91b9f
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-09-11 Pavel Roskin <proski@gnu.org>
* 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.

View File

@ -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: