]> git.mdlowis.com Git - proto/labwc.git/commitdiff
fix madly flashing background
authorDaniel Barlow <dan@telent.net>
Sun, 29 Aug 2021 11:56:14 +0000 (12:56 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 29 Aug 2021 15:13:36 +0000 (16:13 +0100)
the preprocessor symbol DEBUG is now defined to (0) even
when debugging should not not be enabled, so change from checking

src/output.c

index bfcaf0dcdbdba805ccadfb11b5d6dcbb2bc11347..2410c170ed4237b6806a971ed6f1040622479b58 100644 (file)
@@ -661,7 +661,7 @@ output_render(struct output *output, pixman_region32_t *damage)
                goto renderer_end;
        }
 
-#ifdef DEBUG
+#if DEBUG
        wlr_renderer_clear(renderer, (float[]){0.2f, 0.0f, 0.0f, 1.0f});
 #endif