summaryrefslogtreecommitdiffstats
path: root/src/gui_xmebw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r--src/gui_xmebw.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index 5b6508867c..f7d59fcc51 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -375,11 +375,8 @@ set_pixmap(XmEnhancedButtonWidget eb)
XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
- if (eb->enhancedbutton.label_location == (int)XmTOP
- || eb->enhancedbutton.label_location == (int)XmBOTTOM)
- shift = eb->primitive.shadow_thickness / 2;
- else
- shift = eb->primitive.shadow_thickness / 2;
+ /* TODO: does the shift depend on label_location somehow? */
+ shift = eb->primitive.shadow_thickness / 2;
if (shift < 1)
shift = 1;