mirror of
https://github.com/swaywm/sway.git
synced 2026-04-30 06:46:24 -04:00
fix parentheses
This commit is contained in:
parent
7c3dd9ecfb
commit
3172023df8
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ void render(struct output *output, struct config *config, struct status_line *li
|
||||||
cairo_restore(cairo);
|
cairo_restore(cairo);
|
||||||
// Could also be done by always rendering then conditionally clearing and drawing alpha
|
// Could also be done by always rendering then conditionally clearing and drawing alpha
|
||||||
// That may be preferable down the line
|
// That may be preferable down the line
|
||||||
if (!strcmp(config->display_mode, "hide") == 0 || strcmp(config->hidden_state, "show") == 0) {
|
if ((!strcmp(config->display_mode, "hide")) == 0 || strcmp(config->hidden_state, "show") == 0) {
|
||||||
|
|
||||||
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);
|
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue