The menubar actually indirectly sets size_slipped, and thus size_changed,
so keying off that works also.
andy
2001-01-05 Andy Piper <andy(a)xemacs.org>
* glyphs-x.c (x_redisplay_widget): use size changed for offset
adjustment.
* menubar.c (menubar_visible_p_changed): don't mark frame changed.
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.
(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?
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd