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 | |
parent | b3a94f59d8bb301fa38a65317da7bb81733de933 (diff) | |
download | fluxbox_paul-9e10811c0d840df3af770b390dc10002061b47a8.zip fluxbox_paul-9e10811c0d840df3af770b390dc10002061b47a8.tar.bz2 |
update toolbar visibility on reconfigure
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Toolbar.cc | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -7,6 +7,9 @@ Changes for 1.0rc3: | |||
7 | Similar fix for gnome current workspace... remember that XA_CARDINAL | 7 | Similar fix for gnome current workspace... remember that XA_CARDINAL |
8 | "32-bit" type is actually a "long array" argument (=64bit on 64 systems) | 8 | "32-bit" type is actually a "long array" argument (=64bit on 64 systems) |
9 | Ewmh.cc Gnome.cc | 9 | Ewmh.cc Gnome.cc |
10 | *06/12/31: | ||
11 | * Update toolbar visibility on reconfigure (Mark) | ||
12 | Toolbar.cc | ||
10 | *06/12/28: | 13 | *06/12/28: |
11 | * Don't add 2 pixels to a specified toolbar height, bug #1528646 (Mark) | 14 | * Don't add 2 pixels to a specified toolbar height, bug #1528646 (Mark) |
12 | Toolbar.cc | 15 | 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() { | |||
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(); |