Hi, I've been working a bit on the match interface of CCSM lately and I found that it would be really useful to have features for each match prefix the plugin (core/regex) supports. The feature name is built similar to the image feature names: "matchhandler:" + prefix. For example "matchhandler:title" supports the match prefix "title=".
So I made a small patch for that. Cheers, Patrick
From cbdf63926577d34fdc26af105ec7b3c8cf4feb67 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus <[EMAIL PROTECTED]> Date: Mon, 15 Oct 2007 15:18:59 +0200 Subject: [PATCH] Added features to core and regex metadata to specific the match prefixes they support --- metadata/core.xml.in | 4 ++++ metadata/regex.xml.in | 8 ++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/metadata/core.xml.in b/metadata/core.xml.in index 5d7879b..8fbf7aa 100644 --- a/metadata/core.xml.in +++ b/metadata/core.xml.in @@ -2,6 +2,10 @@ <core> <_short>General Options</_short> <_long>General compiz options</_long> + <feature>matchhandler:xid</feature> + <feature>matchhandler:state</feature> + <feature>matchhandler:type</feature> + <feature>matchhandler:override_redirect</feature> <display> <option name="abi" type="int" read_only="true"/> <option name="active_plugins" type="list"> diff --git a/metadata/regex.xml.in b/metadata/regex.xml.in index 72a7cca..a3e02ab 100644 --- a/metadata/regex.xml.in +++ b/metadata/regex.xml.in @@ -1,5 +1,13 @@ <compiz> <plugin name="regex"> + <feature>matchhandler:title</feature> + <feature>matchhandler:role</feature> + <feature>matchhandler:class</feature> + <feature>matchhandler:name</feature> + <feature>matchhandler:ititle</feature> + <feature>matchhandler:irole</feature> + <feature>matchhandler:iclass</feature> + <feature>matchhandler:iname</feature> <_short>Regex Matching</_short> <_long>Regex window matching</_long> </plugin> -- 1.5.2.5
_______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz