summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-08-01 09:45:33 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-08-01 09:45:33 -0500
commite41ed533842d5ed9688eb705ca48b82d0080dfe5 (patch)
treedc0466bd44a8368e01bec72bd00d549a95d5fe0d
parent2dbe5c60636ea1eb3cbef929c1316323addf42a5 (diff)
remove unneeded variable
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 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