aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Container.cc b/src/Container.cc
index caab11b..ff026e1 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -32,8 +32,8 @@
32 32
33Container::Container(const FbTk::FbWindow &parent): 33Container::Container(const FbTk::FbWindow &parent):
34 FbTk::FbWindow(parent, 0, 0, 1, 1, ExposureMask), 34 FbTk::FbWindow(parent, 0, 0, 1, 1, ExposureMask),
35 m_align(RELATIVE),
36 m_orientation(FbTk::ROT0), 35 m_orientation(FbTk::ROT0),
36 m_align(RELATIVE),
37 m_max_size_per_client(60), 37 m_max_size_per_client(60),
38 m_max_total_size(0), 38 m_max_total_size(0),
39 m_selected(0), 39 m_selected(0),
@@ -479,7 +479,7 @@ unsigned int Container::maxWidthPerClient() const {
479 if (size() == 0) 479 if (size() == 0)
480 return width(); 480 return width();
481 else { 481 else {
482 int borderW = m_item_list.front()->borderWidth(); 482 unsigned 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(), h = height(); 485 unsigned int w = width(), h = height();