From 6f9f1b9e05119f5f9d0fb7ad3f23f809fb01b3cd Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 21 Apr 2020 21:58:13 -0500 Subject: "root" color was easy to make configurable --- dwl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dwl.c') diff --git a/dwl.c b/dwl.c index 7686323..0c45ca5 100644 --- a/dwl.c +++ b/dwl.c @@ -701,9 +701,7 @@ rendermon(struct wl_listener *listener, void *data) } /* Begin the renderer (calls glViewport and some other GL sanity checks) */ wlr_renderer_begin(renderer, m->wlr_output->width, m->wlr_output->height); - - float color[4] = {0.3, 0.3, 0.3, 1.0}; - wlr_renderer_clear(renderer, color); + wlr_renderer_clear(renderer, rootcolor); /* Each subsequent window we render is rendered on top of the last. Because * our client list is ordered front-to-back, we iterate over it backwards. */ -- cgit v1.2.3