aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-10-26 21:05:03 (GMT)
committerfluxgen <fluxgen>2003-10-26 21:05:03 (GMT)
commitb4b86bbdcff015306fe09df62a388685126cb513 (patch)
tree17b37444b4ef6539b79628f0693e6e2ce5143a1e /src/Container.cc
parent5cdb896772810ad2ac5187b386ed95d5b526392e (diff)
downloadfluxbox-b4b86bbdcff015306fe09df62a388685126cb513.zip
fluxbox-b4b86bbdcff015306fe09df62a388685126cb513.tar.bz2
minor stuff
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Container.cc b/src/Container.cc
index 5b985eb..3eda052 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -20,11 +20,11 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: Container.cc,v 1.5 2003/10/09 16:48:09 rathnor Exp $ 23// $Id: Container.cc,v 1.6 2003/10/26 21:05:03 fluxgen Exp $
24 24
25#include "FbTk/Button.hh"
26#include "Container.hh" 25#include "Container.hh"
27 26
27#include "FbTk/Button.hh"
28#include "FbTk/EventManager.hh" 28#include "FbTk/EventManager.hh"
29 29
30Container::Container(const FbTk::FbWindow &parent): 30Container::Container(const FbTk::FbWindow &parent):
@@ -190,5 +190,5 @@ void Container::repositionItems() {
190 190
191 191
192unsigned int Container::maxWidthPerClient() const { 192unsigned int Container::maxWidthPerClient() const {
193 return (size() == 0 ? width() : (width() + size()*m_item_list.front()->borderWidth())/size()); 193 return (size() == 0 ? width() : (width() + size()*m_item_list.front()->borderWidth())/size());
194} 194}