diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2009-06-28 16:39:28 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2009-06-28 16:39:28 (GMT) |
commit | c1d9ae5068ed209a8ed051a68c269bd0158bf6a8 (patch) | |
tree | 08835b9646fbe037e1833c168c70022372f8fadc /src/FbTk/Container.cc | |
parent | 659af0eb7548abac0f89b7de4b674678987e8bf1 (diff) | |
download | fluxbox_pavel-c1d9ae5068ed209a8ed051a68c269bd0158bf6a8.zip fluxbox_pavel-c1d9ae5068ed209a8ed051a68c269bd0158bf6a8.tar.bz2 |
fix changing iconbar alignment and button width from init file
Diffstat (limited to 'src/FbTk/Container.cc')
-rw-r--r-- | src/FbTk/Container.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/Container.cc b/src/FbTk/Container.cc index bcb6b01..ce143ef 100644 --- a/src/FbTk/Container.cc +++ b/src/FbTk/Container.cc | |||
@@ -229,7 +229,10 @@ void Container::setMaxTotalSize(unsigned int size) { | |||
229 | } | 229 | } |
230 | 230 | ||
231 | void Container::setAlignment(Container::Alignment a) { | 231 | void Container::setAlignment(Container::Alignment a) { |
232 | m_align = a; | 232 | if (m_align != a) { |
233 | m_align = a; | ||
234 | repositionItems(); | ||
235 | } | ||
233 | } | 236 | } |
234 | 237 | ||
235 | void Container::exposeEvent(XExposeEvent &event) { | 238 | void Container::exposeEvent(XExposeEvent &event) { |