diff options
Diffstat (limited to 'swaybar/main.c')
-rw-r--r-- | swaybar/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/main.c b/swaybar/main.c index e73a6671..f2f0f7f7 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -91,7 +91,7 @@ void sway_terminate(void) { | |||
91 | } | 91 | } |
92 | 92 | ||
93 | void cairo_set_source_u32(cairo_t *cairo, uint32_t color) { | 93 | void cairo_set_source_u32(cairo_t *cairo, uint32_t color) { |
94 | cairo_set_source_rgba(cairo, | 94 | cairo_set_source_rgba(cairo, |
95 | ((color & 0xFF000000) >> 24) / 256.0, | 95 | ((color & 0xFF000000) >> 24) / 256.0, |
96 | ((color & 0xFF0000) >> 16) / 256.0, | 96 | ((color & 0xFF0000) >> 16) / 256.0, |
97 | ((color & 0xFF00) >> 8) / 256.0, | 97 | ((color & 0xFF00) >> 8) / 256.0, |