aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Icon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/Icon.c b/generic/Icon.c
index 9bcdbc9..54b1748 100644
--- a/generic/Icon.c
+++ b/generic/Icon.c
@@ -347,6 +347,8 @@ ComputeCoordinates(Item item,
else {
ZnTransformPoint(wi->current_transfo, &icon->pos, &icon->pos_dev);
}
+ icon->pos_dev.x = REAL_TO_INT(icon->pos_dev.x);
+ icon->pos_dev.y = REAL_TO_INT(icon->pos_dev.y);
Anchor2Origin(&icon->pos_dev, width, height, icon->anchor,
&icon->pos_dev);