]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
copy textures in appearance_copy
[chaz/openbox] / render / render.c
index 63b55d5c60ac6b767e2941a99b41727fa31db197..71e5f7b3390f9d899965fb509dbda37ea704d1c0 100644 (file)
@@ -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;
This page took 0.022425 seconds and 4 git commands to generate.