diff options
author | simonb <simonb> | 2006-04-15 16:41:11 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-15 16:41:11 (GMT) |
commit | 7c7908443302fc66929e19804f0fbd655d4c7f34 (patch) | |
tree | 6839a7379b4cc514a5a4ce20ebf0a53123d20ba2 /src/Container.cc | |
parent | 83a3429c395299b5acb85a3f372091037fe12603 (diff) | |
download | fluxbox-7c7908443302fc66929e19804f0fbd655d4c7f34.zip fluxbox-7c7908443302fc66929e19804f0fbd655d4c7f34.tar.bz2 |
implement vertical toolbar placement options
Diffstat (limited to 'src/Container.cc')
-rw-r--r-- | src/Container.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Container.cc b/src/Container.cc index db3e401..bcd5464 100644 --- a/src/Container.cc +++ b/src/Container.cc | |||
@@ -482,7 +482,8 @@ unsigned int Container::maxWidthPerClient() const { | |||
482 | int borderW = m_item_list.front()->borderWidth(); | 482 | int borderW = m_item_list.front()->borderWidth(); |
483 | // there're count-1 borders to fit in with the windows | 483 | // there're count-1 borders to fit in with the windows |
484 | // -> 1 per window plus end | 484 | // -> 1 per window plus end |
485 | unsigned int w = width(); | 485 | unsigned int w = width(), h = height(); |
486 | translateSize(m_orientation, w, h); | ||
486 | if (w < (size()-1)*borderW) | 487 | if (w < (size()-1)*borderW) |
487 | return 1; | 488 | return 1; |
488 | else | 489 | else |