forked from mirror/dwl
fix an editing mistake
This commit is contained in:
parent
59cd8dec94
commit
0ac2f6616a
1 changed files with 5 additions and 5 deletions
10
dwl.c
10
dwl.c
|
@ -1166,9 +1166,9 @@ renderclients(Monitor *m, struct timespec *now)
|
||||||
|
|
||||||
/* This calls our render function for each surface among the
|
/* This calls our render function for each surface among the
|
||||||
* xdg_surface's toplevel and popups. */
|
* xdg_surface's toplevel and popups. */
|
||||||
rdata.output = m->wlr_output,
|
rdata.output = m->wlr_output;
|
||||||
rdata.when = now,
|
rdata.when = now;
|
||||||
rdata.x = c->geom.x + c->bw,
|
rdata.x = c->geom.x + c->bw;
|
||||||
rdata.y = c->geom.y + c->bw;
|
rdata.y = c->geom.y + c->bw;
|
||||||
if (c->type != XDGShell)
|
if (c->type != XDGShell)
|
||||||
wlr_surface_for_each_surface(c->surface.xwayland->surface, render, &rdata);
|
wlr_surface_for_each_surface(c->surface.xwayland->surface, render, &rdata);
|
||||||
|
@ -1194,8 +1194,8 @@ renderindependents(struct wlr_output *output, struct timespec *now)
|
||||||
if (!wlr_output_layout_intersects(output_layout, output, &geom))
|
if (!wlr_output_layout_intersects(output_layout, output, &geom))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
rdata.output = output,
|
rdata.output = output;
|
||||||
rdata.when = now,
|
rdata.when = now;
|
||||||
rdata.x = c->surface.xwayland->x;
|
rdata.x = c->surface.xwayland->x;
|
||||||
rdata.y = c->surface.xwayland->y;
|
rdata.y = c->surface.xwayland->y;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue