]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
make the new placement restrictions not affect !normal windows like panels
[chaz/openbox] / render / render.c
index a8539d7a3a94db77f68d381ba748d0c5b8fabbae..1fbfef672b09a83ffbc5533875c625d5a2448543 100644 (file)
@@ -59,7 +59,7 @@ void RrPaint(RrAppearance *l, Window win, gint w, gint h)
         for (i = 0; i < h; i++, source += sw, dest += w) {
             memcpy(dest, source, w * sizeof(RrPixel32));
         }
-    }else
+    } else
         RrRender(l, w, h);
 
     RECT_SET(tarea, 0, 0, w, h);
@@ -188,6 +188,8 @@ RrAppearance *RrAppearanceCopy(RrAppearance *orig)
 
     spc->interlaced = spo->interlaced;
     spc->border = spo->border;
+    spc->parent = NULL;
+    spc->parentx = spc->parenty = 0;
     spc->RrPixel_data = NULL;
 
     copy->textures = orig->textures;
This page took 0.023477 seconds and 4 git commands to generate.