diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 3 |
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(); |