fix parentheses

This commit is contained in:
Calvin Kosmatka 2017-04-16 23:41:27 -05:00
parent 0dc55dda6a
commit b7fe2a95ca

View file

@ -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);