aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-25 14:59:34 (GMT)
committersimonb <simonb>2006-06-25 14:59:34 (GMT)
commitbf9b60833f87a8b328d71dac5879bdf7a0300d6e (patch)
treed7316e26c2595fe1eb4c3ebb88d587421e789e87 /src/FbWinFrame.cc
parent131d04cf423b36bcfeba351eecc520b94586f729 (diff)
downloadfluxbox_pavel-bf9b60833f87a8b328d71dac5879bdf7a0300d6e.zip
fluxbox_pavel-bf9b60833f87a8b328d71dac5879bdf7a0300d6e.tar.bz2
fix FbPixmap retaining pixmap (that made cache not work properly)
Also small tidy in FbWinFrame.cc
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 9e7eedf..eafcb79 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -1204,7 +1204,6 @@ void FbWinFrame::renderTitlebar() {
1204 m_label_unfocused_pm, 1204 m_label_unfocused_pm,
1205 m_label.width(), m_label.height()); 1205 m_label.width(), m_label.height());
1206 1206
1207 renderButtons();
1208} 1207}
1209 1208
1210void FbWinFrame::renderTabContainer() { 1209void FbWinFrame::renderTabContainer() {
@@ -1241,6 +1240,8 @@ void FbWinFrame::renderTabContainer() {
1241 m_labelbutton_active_pm, 1240 m_labelbutton_active_pm,
1242 m_tab_container.width(), m_tab_container.height(), m_tab_container.orientation()); 1241 m_tab_container.width(), m_tab_container.height(), m_tab_container.orientation());
1243 1242
1243 renderButtons();
1244
1244} 1245}
1245 1246
1246void FbWinFrame::applyTitlebar() { 1247void FbWinFrame::applyTitlebar() {
@@ -1591,7 +1592,7 @@ void FbWinFrame::applyActiveLabel(FbTk::TextButton &button) {
1591 button.setAlpha(m_focused?theme().focusedAlpha():theme().unfocusedAlpha()); 1592 button.setAlpha(m_focused?theme().focusedAlpha():theme().unfocusedAlpha());
1592 1593
1593 if (m_labelbutton_active_pm != 0) { 1594 if (m_labelbutton_active_pm != 0) {
1594 button.setBackgroundPixmap(m_labelbutton_active_pm); 1595 button.setBackgroundPixmap(m_labelbutton_active_pm);
1595 } else 1596 } else
1596 button.setBackgroundColor(m_labelbutton_active_color); 1597 button.setBackgroundColor(m_labelbutton_active_color);
1597 1598