diff options
Diffstat (limited to 'generic/Icon.c')
-rw-r--r-- | generic/Icon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Icon.c b/generic/Icon.c index 4526ea2..16ec3f0 100644 --- a/generic/Icon.c +++ b/generic/Icon.c @@ -483,7 +483,7 @@ Draw(ZnItem item) ZnCurrentClip(wi, ¤t_clip, ¤t_clip_box, NULL); TkSetRegion(wi->dpy, mask_gc, current_clip); XSetClipOrigin(wi->dpy, mask_gc, - -current_clip_box->orig.x, -current_clip_box->orig.y); + -item->item_bounding_box.orig.x, -item->item_bounding_box.orig.y); XPutImage(wi->dpy, mask, mask_gc, dest_mask, 0, 0, 0, 0, dest_im_width, dest_im_height); XPutImage(wi->dpy, drw, gc, dest_im, |