From 7549d2d6311e7b0738950f9ab84e68c4cfc057aa Mon Sep 17 00:00:00 2001 From: buffet Date: Sun, 10 Mar 2019 23:28:58 +0100 Subject: [PATCH] Inlined background thing --- kiwmi/output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kiwmi/output.c b/kiwmi/output.c index d9f0250..3b51470 100644 --- a/kiwmi/output.c +++ b/kiwmi/output.c @@ -34,8 +34,7 @@ output_frame_notify(struct wl_listener *listener, void *data) { wlr_renderer_begin(renderer, width, height); - float color[] = {0.18f, 0.20f, 0.25f, 1.0f}; - wlr_renderer_clear(renderer, color); + wlr_renderer_clear(renderer, (float[]){0.18f, 0.20f, 0.25f, 1.0f}); wlr_output_render_software_cursors(wlr_output, NULL); wlr_renderer_end(renderer); }