aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-12-31 20:01:53 (GMT)
committermarkt <markt>2006-12-31 20:01:53 (GMT)
commit9e10811c0d840df3af770b390dc10002061b47a8 (patch)
tree6ea4206d2c5f4cf1762f766d09269193d5c78296 /src
parentb3a94f59d8bb301fa38a65317da7bb81733de933 (diff)
downloadfluxbox-9e10811c0d840df3af770b390dc10002061b47a8.zip
fluxbox-9e10811c0d840df3af770b390dc10002061b47a8.tar.bz2
update toolbar visibility on reconfigure
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc5
1 files changed, 4 insertions, 1 deletions
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() {
367} 367}
368 368
369void Toolbar::reconfigure() { 369void Toolbar::reconfigure() {
370 // updateVisibleState(); 370 // wait until after windows are drawn to show toolbar at startup
371 // otherwise, it looks ugly
372 if (!Fluxbox::instance()->isStartup())
373 updateVisibleState();
371 374
372 if (!doAutoHide() && isHidden()) 375 if (!doAutoHide() && isHidden())
373 toggleHidden(); 376 toggleHidden();