diff options
Diffstat (limited to 'generic/Rectangle.c')
-rw-r--r-- | generic/Rectangle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c index 51fe10d..500473c 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -504,7 +504,7 @@ Draw(ZnItem item) if (rect->tile != ZnUnspecifiedImage) { if (!ZnImageIsBitmap(rect->tile)) { /* Fill tiled */ values.fill_style = FillTiled; - values.tile = ZnImagePixmap(rect->tile); + values.tile = ZnImagePixmap(rect->tile, wi->win); if (ISSET(rect->flags, ALIGNED_BIT)) { values.ts_x_origin = (int) r.x; values.ts_y_origin = (int) r.y; @@ -518,7 +518,7 @@ Draw(ZnItem item) } else { values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(rect->tile); + values.stipple = ZnImagePixmap(rect->tile, wi->win); if (ISSET(rect->flags, ALIGNED_BIT)) { values.ts_x_origin = (int) r.x; values.ts_y_origin = (int) r.y; @@ -579,7 +579,7 @@ Draw(ZnItem item) } else { values.fill_style = FillStippled; - values.stipple = ZnImagePixmap(rect->line_pattern); + values.stipple = ZnImagePixmap(rect->line_pattern, wi->win); gc_mask |= GCStipple; XChangeGC(wi->dpy, wi->gc, gc_mask, &values); } |