aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-04-10 18:18:14 (GMT)
committersimonb <simonb>2005-04-10 18:18:14 (GMT)
commit88c66f0687d2a9e2018f22407b2587dc4d87d012 (patch)
tree197308ad2426783058f479d12329548c6a8a4374 /src/Toolbar.cc
parent6cf66c66554a20a1c98eddf26af9e35b7c90cbd5 (diff)
downloadfluxbox-88c66f0687d2a9e2018f22407b2587dc4d87d012.zip
fluxbox-88c66f0687d2a9e2018f22407b2587dc4d87d012.tar.bz2
Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index a9b4c9d..dad91aa 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -462,7 +462,6 @@ void Toolbar::reconfigure() {
462 frame.window.setAlpha(alpha()); 462 frame.window.setAlpha(alpha());
463 } 463 }
464 frame.window.clear(); 464 frame.window.clear();
465 frame.window.updateTransparent();
466 465
467 if (theme().shape() && m_shape.get()) 466 if (theme().shape() && m_shape.get())
468 m_shape->update(); 467 m_shape->update();
@@ -563,8 +562,6 @@ void Toolbar::exposeEvent(XExposeEvent &ee) {
563 if (ee.window == frame.window) { 562 if (ee.window == frame.window) {
564 frame.window.clearArea(ee.x, ee.y, 563 frame.window.clearArea(ee.x, ee.y,
565 ee.width, ee.height); 564 ee.width, ee.height);
566 frame.window.updateTransparent(ee.x, ee.y,
567 ee.width, ee.height);
568 } 565 }
569} 566}
570 567
@@ -1028,8 +1025,6 @@ void Toolbar::rearrangeItems() {
1028 // unlock 1025 // unlock
1029 m_resize_lock = false; 1026 m_resize_lock = false;
1030 frame.window.clear(); 1027 frame.window.clear();
1031 frame.window.updateTransparent();
1032
1033} 1028}
1034 1029
1035void Toolbar::deleteItems() { 1030void Toolbar::deleteItems() {
@@ -1047,7 +1042,6 @@ void Toolbar::updateAlpha() {
1047 } else { 1042 } else {
1048 frame.window.setAlpha(*m_rc_alpha); 1043 frame.window.setAlpha(*m_rc_alpha);
1049 frame.window.clear(); 1044 frame.window.clear();
1050 frame.window.updateTransparent();
1051 1045
1052 ItemList::iterator item_it = m_item_list.begin(); 1046 ItemList::iterator item_it = m_item_list.begin();
1053 ItemList::iterator item_it_end = m_item_list.end(); 1047 ItemList::iterator item_it_end = m_item_list.end();