summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-12-16 11:32:03 +0100
committerDennis Kasprzyk <onestone@compiz-fusion.org>2008-12-16 11:32:03 +0100
commit27a07096d6ff797617f3071bb0b6029e3868d993 (patch)
tree91ca63d1a6272e791591bb382a47a84ff6c9b0b3 /src/main.cpp
parentf064b704b8cd944cea9a49f0fe38f64dae95ad1a (diff)
downloadunity-window-decorator-27a07096d6ff797617f3071bb0b6029e3868d993.tar.gz
unity-window-decorator-27a07096d6ff797617f3071bb0b6029e3868d993.tar.bz2
No special handling of core metadata.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 30c9c57..d9397fc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -115,8 +115,8 @@ readCoreXmlCallback (void *context,
unsigned int offset = ctx->offset;
unsigned int i, j;
- i = CompMetadata::readXmlChunk ("<compiz><core><options>", &offset, buffer,
- length);
+ i = CompMetadata::readXmlChunk ("<compiz><plugin name=\"core\"><options>",
+ &offset, buffer, length);
for (j = 0; j < COMP_OPTION_NUM; j++)
{
@@ -135,7 +135,7 @@ readCoreXmlCallback (void *context,
buffer + i, length - i);
}
- i += CompMetadata::readXmlChunk ("</options></core></compiz>", &offset,
+ i += CompMetadata::readXmlChunk ("</options></plugin></compiz>", &offset,
buffer + i, length - 1);
if (!offset && length > (int)i)