At 19:48 04/01/01 +0000, Golubev I. N. wrote:
> * menubar.c (menubar_visible_p_changed): signal the frame
changed.
Thanks. It works. And it looks very suboptimal. Marking frame
changed should cause also many other redisplay calculations to be
done.
The problem is that it is not actually the gutter that is misplaced but the
widgets within it. The each widget has to be offset within the frame
according to the other junk in the frame. When the junk in the frame
changes the offsets have to be recalculated, doing this on frame changed
seems reasonably sensible to be - although we could attach it to other
things or introduce yet another redisplay variable.
(Top) toolbar is (by default) also located just under menubar. But
somehow changing menubar visibility did not require `dirtying' frame
to make toolbar location honor the change. Do you understand why is
it needed for gutter but not for toolbar?
Good question
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd