From e41ed533842d5ed9688eb705ca48b82d0080dfe5 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sat, 1 Aug 2020 09:45:33 -0500 Subject: remove unneeded variable --- dwl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dwl.c b/dwl.c index 785d34e..515a6ff 100644 --- a/dwl.c +++ b/dwl.c @@ -1218,7 +1218,6 @@ renderindependents(struct wlr_output *output, struct timespec *now) void rendermon(struct wl_listener *listener, void *data) { - struct wlr_output *output = data; Client *c; int render = 1; @@ -1247,7 +1246,7 @@ rendermon(struct wl_listener *listener, void *data) wlr_renderer_clear(drw, rootcolor); renderclients(m, &now); - renderindependents(output, &now); + renderindependents(m->wlr_output, &now); /* Hardware cursors are rendered by the GPU on a separate plane, and can be * moved around without re-rendering what's beneath them - which is more -- cgit v1.2.3