copy textures in appearance_copy
Derek Foreman manmower@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
render/render.c
→
render/render.c
@@ -177,7 +177,7 @@ spc->pixel_data = NULL;
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;