initialServerResources = pPad->xrdb;
initialServerResources.server = False; /* so window will be mapped */
initialServerGeometry = pPad->geometry;
+ if(pPad->xrdb.workspaceList)
+ pPad->xrdb.workspaceList = strdup(pPad->xrdb.workspaceList);
+ if(pPad->xrdb.session)
+ pPad->xrdb.session = strdup(pPad->xrdb.session);
+ pPad->geometry = strdup(pPad->geometry);
}
/* Set some initial Editor instance values */
XtFree(pPad->geometry );
pPad->xrdb = initialServerResources;
- pPad->geometry = initialServerGeometry;
/* -----> duplicate resource strings */
if (initialServerResources.workspaceList != (char *)NULL)