aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index df5bf44..c0d3f88 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -477,9 +477,12 @@ void Toolbar::reconfigure() {
477 frame.window.setBorderWidth(theme().border().width()); 477 frame.window.setBorderWidth(theme().border().width());
478 478
479 bool have_composite = FbTk::Transparent::haveComposite(); 479 bool have_composite = FbTk::Transparent::haveComposite();
480 // have_composite could have changed, so we need to change both
480 if (have_composite) { 481 if (have_composite) {
481 frame.window.setOpaque(alpha()); 482 frame.window.setOpaque(alpha());
483 frame.window.setAlpha(255);
482 } else { 484 } else {
485 frame.window.setOpaque(255);
483 frame.window.setAlpha(alpha()); 486 frame.window.setAlpha(alpha());
484 } 487 }
485 frame.window.clear(); 488 frame.window.clear();