aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-06 19:03:33 (GMT)
committermarkt <markt>2007-01-06 19:03:33 (GMT)
commit94e2c89053325beeb9f79d2e682adf614f636ca8 (patch)
treeb778a387684ef8baef35e318c75de1810408a7f4 /src/Slit.cc
parent8db2d4f26eae2d608e864aabf6218ad461c4da6b (diff)
downloadfluxbox_pavel-94e2c89053325beeb9f79d2e682adf614f636ca8.zip
fluxbox_pavel-94e2c89053325beeb9f79d2e682adf614f636ca8.tar.bz2
make "force pseudotransparency" menu item work immediately
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 8542dca..e95708e 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -707,10 +707,13 @@ void Slit::reconfigure() {
707 if (tmp) 707 if (tmp)
708 image_ctrl.removeImage(tmp); 708 image_ctrl.removeImage(tmp);
709 709
710 // could have changed types, so we must set both
710 if (FbTk::Transparent::haveComposite()) { 711 if (FbTk::Transparent::haveComposite()) {
712 frame.window.setAlpha(255);
711 frame.window.setOpaque(*m_rc_alpha); 713 frame.window.setOpaque(*m_rc_alpha);
712 } else { 714 } else {
713 frame.window.setAlpha(*m_rc_alpha); 715 frame.window.setAlpha(*m_rc_alpha);
716 frame.window.setOpaque(255);
714 } 717 }
715 // reposition clears the bg 718 // reposition clears the bg
716 reposition(); 719 reposition();