aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-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