]> Dogcows Code - chaz/openbox/blobdiff - engines/openbox/theme.c
always adjust the frames size and position together, so there is no more weird resizi...
[chaz/openbox] / engines / openbox / theme.c
index 50e548442eaa4a9afd7742ea35ebd7ce4afcb862..4fc859dacbc109412e6b97502f04103479301c2a 100644 (file)
@@ -95,7 +95,7 @@ gboolean read_string(XrmDatabase db, char *rname, char **value)
   
     if (XrmGetResource(db, rname, rclass, &rettype, &retvalue) &&
        retvalue.addr != NULL) {
-       *value = retvalue.addr;
+       *value = g_strdup(retvalue.addr);
        ret = TRUE;
     }
 
This page took 0.024719 seconds and 4 git commands to generate.