[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows emacs menu bar redraw
From: |
Andrew Choi |
Subject: |
Re: Windows emacs menu bar redraw |
Date: |
Fri, 05 Jul 2002 23:47:12 +0000 (GMT) |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
parameter@go.com (Dave Schuyler) writes:
> Hi,
>
> I'm using gnu emacs 21.2.1 on Windows 2000.
>
> I've noticed that the menu bar will sometimes flicker and redraw.
> I've seen this before in applications where some controls are bing
> told to redraw themselves, not just as needed, but very often. The
> programmer may miss a bug like this because the redraw is exactly
> the same as what was there before, and if it's fast enough, or if
> there is no blanking, you can't see it. If your machine slows down
> with other tasks, the flicker can become bothersome. Also, the
> redraw is needlessly using cpu time. Worse, someone else may
> immitate the code doing the needless redraws, thinking that there is
> nothing broken with the original code.
>
> Anyway, it would be nice if someone would take care of it.
>
> Thanks.
Hi,
Does the problem go away if you call Fequal instead of EQ in w32menu.c
(set_frame_menubar) to check the previous_items array against
menu_items?
Andrew.