aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-01-13 14:41:32 (GMT)
committerrathnor <rathnor>2004-01-13 14:41:32 (GMT)
commit6914d00eb772705ee9e2cced1629ac5938361cfe (patch)
tree0f19dc333b5dcddb5628a262f33d1ebb4400dcd5 /src/Toolbar.cc
parent9475d7bc8226e58a86dd90f01c56c6e0e96a4969 (diff)
downloadfluxbox-6914d00eb772705ee9e2cced1629ac5938361cfe.zip
fluxbox-6914d00eb772705ee9e2cced1629ac5938361cfe.tar.bz2
toolbar transparency
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index e804aed..b267b77 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.135 2004/01/11 16:08:57 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.136 2004/01/13 14:41:32 rathnor Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -450,7 +450,9 @@ void Toolbar::reconfigure() {
450 450
451 frame.window.setBorderColor(theme().border().color()); 451 frame.window.setBorderColor(theme().border().color());
452 frame.window.setBorderWidth(theme().border().width()); 452 frame.window.setBorderWidth(theme().border().width());
453 frame.window.setAlpha(theme().alpha());
453 frame.window.clear(); 454 frame.window.clear();
455 frame.window.updateTransparent();
454 456
455 if (theme().shape() && m_shape.get()) 457 if (theme().shape() && m_shape.get())
456 m_shape->update(); 458 m_shape->update();
@@ -543,6 +545,8 @@ void Toolbar::exposeEvent(XExposeEvent &ee) {
543 if (ee.window == frame.window) { 545 if (ee.window == frame.window) {
544 frame.window.clearArea(ee.x, ee.y, 546 frame.window.clearArea(ee.x, ee.y,
545 ee.width, ee.height); 547 ee.width, ee.height);
548 frame.window.updateTransparent(ee.x, ee.y,
549 ee.width, ee.height);
546 } 550 }
547} 551}
548 552
@@ -920,6 +924,7 @@ void Toolbar::rearrangeItems() {
920 // unlock 924 // unlock
921 m_resize_lock = false; 925 m_resize_lock = false;
922 frame.window.clear(); 926 frame.window.clear();
927 frame.window.updateTransparent();
923 928
924} 929}
925 930