From: Derek Foreman Date: Sun, 16 Mar 2003 23:41:42 +0000 (+0000) Subject: copy textures in appearance_copy X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9b1943f1feff3f1ed50f9a4039925a9956ada63c;hp=8c8c40e270fa2e2ecc423e59191c99f5b97d8d75;p=chaz%2Fopenbox copy textures in appearance_copy --- diff --git a/render/render.c b/render/render.c index 63b55d5c..71e5f7b3 100644 --- a/render/render.c +++ b/render/render.c @@ -177,7 +177,7 @@ Appearance *appearance_copy(Appearance *orig) break; } copy->textures = orig->textures; - copy->texture = NULL; /* XXX FIX ME */ + memcpy(copy->texture, orig->texture, orig->textures * sizeof(Texture)); copy->pixmap = None; copy->xftdraw = NULL; return copy;