remove unneeded variable

This commit is contained in:
Devin J. Pohly 2020-08-01 09:45:33 -05:00
parent 2dbe5c6063
commit e41ed53384

3
dwl.c
View file

@ -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