From 9e10811c0d840df3af770b390dc10002061b47a8 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 31 Dec 2006 20:01:53 +0000 Subject: update toolbar visibility on reconfigure --- ChangeLog | 3 +++ src/Toolbar.cc | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d90ea30..7579515 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ Changes for 1.0rc3: Similar fix for gnome current workspace... remember that XA_CARDINAL "32-bit" type is actually a "long array" argument (=64bit on 64 systems) Ewmh.cc Gnome.cc +*06/12/31: + * Update toolbar visibility on reconfigure (Mark) + Toolbar.cc *06/12/28: * Don't add 2 pixels to a specified toolbar height, bug #1528646 (Mark) Toolbar.cc diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 3e825b8..df5bf44 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -367,7 +367,10 @@ void Toolbar::lower() { } void Toolbar::reconfigure() { - // updateVisibleState(); + // wait until after windows are drawn to show toolbar at startup + // otherwise, it looks ugly + if (!Fluxbox::instance()->isStartup()) + updateVisibleState(); if (!doAutoHide() && isHidden()) toggleHidden(); -- cgit v0.11.2