diff options
author | markt <markt> | 2007-02-02 19:10:58 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-02 19:10:58 (GMT) |
commit | 2f4d0f6cdea116e203daddffae4ab2be802b024f (patch) | |
tree | 3241b9fba150d8410ea3401aa6e31abc2887bf03 /src/FbWinFrame.cc | |
parent | 2b25b05b27a0d4735ace950d667510bb4cf309b7 (diff) | |
download | fluxbox-2f4d0f6cdea116e203daddffae4ab2be802b024f.zip fluxbox-2f4d0f6cdea116e203daddffae4ab2be802b024f.tar.bz2 |
revert svn 4684, transparency in window buttons
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index e78ed5f..99dd93d 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -34,7 +34,6 @@ | |||
34 | #include "Screen.hh" | 34 | #include "Screen.hh" |
35 | 35 | ||
36 | #include "Container.hh" | 36 | #include "Container.hh" |
37 | #include "WinButton.hh" | ||
38 | 37 | ||
39 | #ifdef SHAPE | 38 | #ifdef SHAPE |
40 | #include "Shape.hh" | 39 | #include "Shape.hh" |
@@ -1504,12 +1503,6 @@ void FbWinFrame::init() { | |||
1504 | Setups upp background, pressed pixmap/color of the button to current theme | 1503 | Setups upp background, pressed pixmap/color of the button to current theme |
1505 | */ | 1504 | */ |
1506 | void FbWinFrame::applyButton(FbTk::Button &btn) { | 1505 | void FbWinFrame::applyButton(FbTk::Button &btn) { |
1507 | // need to update button first, or it might override this on theme change | ||
1508 | if (typeid(btn) == typeid(WinButton)) { | ||
1509 | WinButton *tmp = static_cast<WinButton *>(&btn); | ||
1510 | tmp->update(0); | ||
1511 | } | ||
1512 | |||
1513 | if (m_button_pressed_pm) | 1506 | if (m_button_pressed_pm) |
1514 | btn.setPressedPixmap(m_button_pressed_pm); | 1507 | btn.setPressedPixmap(m_button_pressed_pm); |
1515 | else | 1508 | else |