summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 12:31:58 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 12:31:58 +0000
commit5e977b8d468e472e7bc531f04d7c2a5aa1fde406 (patch)
tree0f1da71bdd8b42f147c046b78cee5ce0b1e80de8 /beryl-plugins/src/blurfx.c
parent0427ef4987719521e90de126f46ca190aa40d669 (diff)
downloadmarex-dev-5e977b8d468e472e7bc531f04d7c2a5aa1fde406.tar.gz
marex-dev-5e977b8d468e472e7bc531f04d7c2a5aa1fde406.tar.bz2
Add warning for NVidia users about black window bug
git-svn-id: file:///beryl/trunk@3164 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.c')
-rw-r--r--beryl-plugins/src/blurfx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/beryl-plugins/src/blurfx.c b/beryl-plugins/src/blurfx.c
index 6f23a08..aafc4c8 100644
--- a/beryl-plugins/src/blurfx.c
+++ b/beryl-plugins/src/blurfx.c
@@ -1067,6 +1067,18 @@ static void blurfxScreenInitOptions(BlurfxScreen * bs)
o->rest.f.max = 100.0;
o->rest.f.precision = 0.1;
+ o = &bs->opt[BLURFX_SCREEN_OPTION_WARNING];
+ o->advanced = False;
+ o->name = "warning";
+ o->group = N_("Warning");
+ o->subGroup = N_("");
+ o->displayHints = "";
+ o->shortDesc = N_("Warning: NVidia users experiencing the black window bug should disable blur");
+ o->longDesc = N_("Warning: NVidia users experiencing the black window bug should disable blur");
+ o->type = CompOptionTypeBool;
+ o->value.f = TRUE;
+
+
}
static void blurfxPreparePaintScreen(CompScreen * s, int ms)