summaryrefslogtreecommitdiff
path: root/context.c
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-17 17:01:05 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-17 17:01:05 +0200
commit3c643c4f48179643cdb7d486aa19b3c2bd76176f (patch)
tree4252fe59899ca6dffe39ab04ce5baafac9f55d1c /context.c
parentab14024d10c136a50348caf4faacfa655e57a9c1 (diff)
downloadxmimd-3c643c4f48179643cdb7d486aa19b3c2bd76176f.tar.gz
xmimd-3c643c4f48179643cdb7d486aa19b3c2bd76176f.zip
adding new translucent option, release 1.2
Diffstat (limited to 'context.c')
-rw-r--r--context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/context.c b/context.c
index 6001e0a..a1ad5a4 100644
--- a/context.c
+++ b/context.c
@@ -128,6 +128,9 @@ static Context* context_alloc()
// TODO Move this somewhere else
context_info_set_int(ctx, "contentType", MeegoImFreeTextContentType);
+ if (opt_translucent) {
+ context_info_set_bool(ctx, MeegoImInfoTranslucent, TRUE);
+ }
return ctx;
}