From 6acc0375e7344d681a2eb02d54f11660d5986932 Mon Sep 17 00:00:00 2001 From: Charlotte Meyer 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 a616b55..2ac7e00 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); }