diff options
author | rathnor <rathnor> | 2004-05-24 15:30:52 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-05-24 15:30:52 (GMT) |
commit | 073065ac56b388db1169108d44f37d32f1d19c67 (patch) | |
tree | 3f69de9404adb70507829493771d6fde0bffa017 /src/FbWinFrameTheme.cc | |
parent | ca307efe3e719fbc3917ae54af4e2243ae0e4044 (diff) | |
download | fluxbox_pavel-073065ac56b388db1169108d44f37d32f1d19c67.zip fluxbox_pavel-073065ac56b388db1169108d44f37d32f1d19c67.tar.bz2 |
more fixing up of alpha zero-relatd problems - particularly fallback to
255, not zero for alpha items
Diffstat (limited to 'src/FbWinFrameTheme.cc')
-rw-r--r-- | src/FbWinFrameTheme.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbWinFrameTheme.cc b/src/FbWinFrameTheme.cc index ce26a49..e2e89fc 100644 --- a/src/FbWinFrameTheme.cc +++ b/src/FbWinFrameTheme.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrameTheme.cc,v 1.17 2004/01/11 16:13:09 fluxgen Exp $ | 22 | // $Id: FbWinFrameTheme.cc,v 1.18 2004/05/24 15:30:52 rathnor Exp $ |
23 | 23 | ||
24 | #include "FbWinFrameTheme.hh" | 24 | #include "FbWinFrameTheme.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -105,8 +105,10 @@ bool FbWinFrameTheme::fallback(FbTk::ThemeItem_base &item) { | |||
105 | } else if (item.name() == "window.label.active.textColor") { | 105 | } else if (item.name() == "window.label.active.textColor") { |
106 | return FbTk::ThemeManager::instance().loadItem(item, "window.label.unfocus.textColor", | 106 | return FbTk::ThemeManager::instance().loadItem(item, "window.label.unfocus.textColor", |
107 | "Window.Label.Unfocus.TextColor"); | 107 | "Window.Label.Unfocus.TextColor"); |
108 | } else if (item.name() == "window.alpha") { | ||
109 | *m_alpha = 255; | ||
110 | return true; | ||
108 | } | 111 | } |
109 | |||
110 | 112 | ||
111 | return false; | 113 | return false; |
112 | } | 114 | } |