summaryrefslogtreecommitdiff
path: root/src/bcop.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'src/bcop.xslt')
-rw-r--r--src/bcop.xslt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 9850f88..43ae60e 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -1257,6 +1257,10 @@ static void </xsl:text>
<xsl:text>OptionsGetDisplayOptions,
</xsl:text>
</xsl:if>
+ <xsl:if test="not(/compiz/plugin[@name=$pName]/display//option)">
+ <xsl:text> (GetPluginObjectOptionsProc) 0,
+ </xsl:text>
+ </xsl:if>
<xsl:if test="/compiz/plugin[@name=$pName]/screen//option">
<xsl:text> (GetPluginObjectOptionsProc) </xsl:text>
<xsl:value-of select="$plugin"/>
@@ -1281,6 +1285,10 @@ static CompBool </xsl:text>
<xsl:text>OptionsSetDisplayOption,
</xsl:text>
</xsl:if>
+ <xsl:if test="not(/compiz/plugin[@name=$pName]/display//option)">
+ <xsl:text> (SetPluginObjectOptionsProc) 0,
+ </xsl:text>
+ </xsl:if>
<xsl:if test="/compiz/plugin[@name=$pName]/screen//option">
<xsl:text> (SetPluginObjectOptionProc) </xsl:text>
<xsl:value-of select="$plugin"/>