summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/screenshot.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-15 06:38:55 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-15 06:38:55 +0000
commitc9022cf02a85fe187ee717c25fda8da81be8c29f (patch)
tree7fba8769619680a0bccc75c663528f104040a7a5 /beryl-plugins/src/screenshot.c
parentf7c56d58b74ea7c503669cd85b5cc4959165e371 (diff)
downloadmarex-dev-c9022cf02a85fe187ee717c25fda8da81be8c29f.tar.gz
marex-dev-c9022cf02a85fe187ee717c25fda8da81be8c29f.tar.bz2
beryl-*
-add basic support for plugin categories, haven't done libbs stuff yet git-svn-id: file:///beryl/trunk@1759 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/screenshot.c')
-rw-r--r--beryl-plugins/src/screenshot.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/beryl-plugins/src/screenshot.c b/beryl-plugins/src/screenshot.c
index 2a31833..6c2ca18 100644
--- a/beryl-plugins/src/screenshot.c
+++ b/beryl-plugins/src/screenshot.c
@@ -499,6 +499,10 @@ static void shotFini(CompPlugin * p)
freeDisplayPrivateIndex(displayPrivateIndex);
}
+CompPluginDep shotDeps[] = {
+ {CompPluginRuleAfterCategory, "imageformat"},
+};
+
static CompPluginVTable shotVTable = {
"screenshot",
N_("Screenshot"),
@@ -515,12 +519,13 @@ static CompPluginVTable shotVTable = {
shotSetDisplayOption,
0, /* GetScreenOptions */
0, /* SetScreenOption */
- NULL,
- 0,
+ shotDeps,
+ sizeof(shotDeps)/sizeof(shotDeps[0]),
0,
0,
BERYL_ABI_INFO,
- "beryl-plugins"
+ "beryl-plugins",
+ "misc"
};
CompPluginVTable *getCompPluginInfo(void)