aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-14 14:22:16 (GMT)
committersimonb <simonb>2006-04-14 14:22:16 (GMT)
commit0780952b102b48e4448bbd514dad6297899be1e4 (patch)
treeec2213d7843b82ff8d03d6d2bcc2079970896ca4 /src/WinButton.cc
parent33079d2593a7a598446cc837fc39eb2a914ebb1f (diff)
downloadfluxbox_pavel-0780952b102b48e4448bbd514dad6297899be1e4.zip
fluxbox_pavel-0780952b102b48e4448bbd514dad6297899be1e4.tar.bz2
fix window button image updates
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r--src/WinButton.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index 6c51a6d..afdfb7f 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -187,9 +187,9 @@ Pixmap WinButton::getPressedPixmap() const {
187 return m_theme.closePressedPixmap().pixmap().drawable(); 187 return m_theme.closePressedPixmap().pixmap().drawable();
188 case SHADE: 188 case SHADE:
189 if (m_listen_to.isShaded()) 189 if (m_listen_to.isShaded())
190 return m_theme.unshadePressedPixmap().pixmap().drawable();
191 else
192 return m_theme.shadePressedPixmap().pixmap().drawable(); 190 return m_theme.shadePressedPixmap().pixmap().drawable();
191 else
192 return m_theme.unshadePressedPixmap().pixmap().drawable();
193 case MENUICON: 193 case MENUICON:
194 if (m_icon_pixmap.drawable()) 194 if (m_icon_pixmap.drawable())
195 if (m_listen_to.isFocused()) 195 if (m_listen_to.isFocused())