diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2015-01-01 Jeff Sparkes + + * toolbar.c (update_frame_toolbars_geometry): Only clear the + frame's toolbar if the frame size has changed. + 2014-12-13 Marcus Crestani * dumper.c (pdump_register_sub): Don't leave fields uninitialized. diff --git a/src/toolbar.c b/src/toolbar.c --- a/src/toolbar.c +++ b/src/toolbar.c @@ -798,13 +798,12 @@ &width, &height); internal_set_frame_size (f, width, height, 0); MARK_FRAME_LAYOUT_CHANGED (f); + + /* Clear the previous toolbar locations. If we do it later + (after redisplay) we end up clearing what we have just + displayed. */ + MAYBE_DEVMETH (d, clear_frame_toolbars, (f)); } - - /* Clear the previous toolbar locations. If we do it later - (after redisplay) we end up clearing what we have just - displayed. */ - MAYBE_DEVMETH (d, clear_frame_toolbars, (f)); - } }