render: replace all usage of cairo with pixman

This commit is contained in:
Daniel Eklöf 2019-08-16 22:06:06 +02:00
parent bed7b34c28
commit 81107753bf
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 90 additions and 81 deletions

View file

@ -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 = {