diff options
author | markt <markt> | 2006-12-31 20:01:53 (GMT) |
---|---|---|
committer | markt <markt> | 2006-12-31 20:01:53 (GMT) |
commit | 9e10811c0d840df3af770b390dc10002061b47a8 (patch) | |
tree | 6ea4206d2c5f4cf1762f766d09269193d5c78296 /src | |
parent | b3a94f59d8bb301fa38a65317da7bb81733de933 (diff) | |
download | fluxbox_paul-9e10811c0d840df3af770b390dc10002061b47a8.zip fluxbox_paul-9e10811c0d840df3af770b390dc10002061b47a8.tar.bz2 |
update toolbar visibility on reconfigure
Diffstat (limited to 'src')
-rw-r--r-- | src/Toolbar.cc | 5 |
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 | ||
369 | void Toolbar::reconfigure() { | 369 | void 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(); |