summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/showdesktop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index 534d74fd..b457a215 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -169,7 +169,7 @@ static void update_icon(ShowDesktopData* sdd)
break;
}
- icon_size = sdd->size - 2 * (focus_width + focus_pad) + thickness;
+ icon_size = sdd->size - 2 * (focus_width + focus_pad) - thickness;
#else
gtk_widget_style_get (sdd->button, "focus-line-width", &focus_width, "focus-padding", &focus_pad, NULL);
@@ -185,7 +185,7 @@ static void update_icon(ShowDesktopData* sdd)
break;
}
- icon_size = sdd->size - 2 * (focus_width + focus_pad + thickness);
+ icon_size = sdd->size - 2 * (focus_width + focus_pad) - thickness;
#endif
if (icon_size < 22)