update toolbar visibility on reconfigure

This commit is contained in:
markt 2006-12-31 20:01:53 +00:00
parent b3a94f59d8
commit 9e10811c0d
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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();