diff --git a/swaybar/render.c b/swaybar/render.c index d0b30221b..a46826b2b 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -288,7 +288,7 @@ void render(struct output *output, struct config *config, struct status_line *li cairo_restore(cairo); // Could also be done by always rendering then conditionally clearing and drawing alpha // That may be preferable down the line - if ((!config->display_mode == MODE_HIDE) || config->hidden_state == BAR_SHOW) { + if (!(config->display_mode == MODE_HIDE) || config->hidden_state == BAR_SHOW) { cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);