aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authormarkt <markt>2007-04-08 17:57:49 (GMT)
committermarkt <markt>2007-04-08 17:57:49 (GMT)
commit863eca5517b4f91e26d889d598f41816acf60a40 (patch)
tree18be5baa27a1c5fa8523ff951bdf751b8f163a44 /src/FbTk
parent12a8b3c038c9ccb577c699d41a1d19602132a7a8 (diff)
downloadfluxbox-863eca5517b4f91e26d889d598f41816acf60a40.zip
fluxbox-863eca5517b4f91e26d889d598f41816acf60a40.tar.bz2
added OnToolbar modifier, removed followModel, fixed unpressed button rendering
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Button.cc b/src/FbTk/Button.cc
index f13adf3..a9b27b2 100644
--- a/src/FbTk/Button.cc
+++ b/src/FbTk/Button.cc
@@ -129,11 +129,11 @@ void Button::buttonReleaseEvent(XButtonEvent &event) {
129 if (!been_deleted) { 129 if (!been_deleted) {
130 mark_if_deleted = 0; 130 mark_if_deleted = 0;
131 if (m_background_pm) { 131 if (m_background_pm) {
132 if (m_pressed_pm != 0) { 132 if (m_pressed_pm != 0 || m_pressed_color.isAllocated()) {
133 update = true; 133 update = true;
134 setBackgroundPixmap(m_background_pm); 134 setBackgroundPixmap(m_background_pm);
135 } 135 }
136 } else if (m_pressed_color.isAllocated()) { 136 } else if (m_pressed_pm != 0 || m_pressed_color.isAllocated()) {
137 update = true; 137 update = true;
138 setBackgroundColor(m_background_color); 138 setBackgroundColor(m_background_color);
139 } 139 }