aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-16 15:38:19 (GMT)
committerrathnor <rathnor>2004-06-16 15:38:19 (GMT)
commit8f88c1fecb28dc15ecfd2ee210a8e466afe5456c (patch)
tree5adbb44deec68449ee216c10ff047d4446c2a510 /src/Container.cc
parentdb6e78bba9fbd0e216f0ebbe5d4f55090ca62069 (diff)
downloadfluxbox_pavel-8f88c1fecb28dc15ecfd2ee210a8e466afe5456c.zip
fluxbox_pavel-8f88c1fecb28dc15ecfd2ee210a8e466afe5456c.tar.bz2
toolbar fixes, updates and optimisations
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Container.cc b/src/Container.cc
index 5d07552..d329052 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -20,7 +20,7 @@
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.14 2004/05/04 14:33:37 rathnor Exp $ 23// $Id: Container.cc,v 1.15 2004/06/16 15:38:19 rathnor Exp $
24 24
25#include "Container.hh" 25#include "Container.hh"
26 26
@@ -160,10 +160,7 @@ void Container::setSelected(int pos) {
160 for (; pos != 0; --pos, ++it) 160 for (; pos != 0; --pos, ++it)
161 continue; 161 continue;
162 m_selected = *it; 162 m_selected = *it;
163 if (m_selected) { 163 // caller does any graphics stuff if appropriate
164 m_selected->clear();
165 m_selected->updateTransparent();
166 }
167 } 164 }
168 165
169} 166}
@@ -218,8 +215,7 @@ void Container::repositionItems() {
218 -borderW, 215 -borderW,
219 max_width_per_client + extra, 216 max_width_per_client + extra,
220 height()); 217 height());
221 (*it)->clear(); 218 // moveresize does a clear
222 (*it)->updateTransparent();
223 } 219 }
224 220
225} 221}