aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-16 20:06:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-16 20:06:06 +0000
commit81107753bf88b6add556838780cfa1c727ccb4c2 (patch)
tree53e2cb5e499cd9230fc5f38831dbd60c73406b5e /config.c
parentwip: render background and glyphs using pixman (diff)
render: replace all usage of cairo with pixman
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 2bb04a65..eb9031ed 100644
--- a/config.c
+++ b/config.c
@@ -224,7 +224,7 @@ parse_section_colors(const char *key, const char *value, struct config *conf,
return false;
}
- conf->colors.alpha = alpha;
+ conf->colors.alpha = alpha * 65535.;
return true;
}
@@ -466,7 +466,7 @@ config_load(struct config *conf)
default_bright[6],
default_bright[7],
},
- .alpha = 1.,
+ .alpha = 0xffff,
},
.cursor = {