aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc3
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