Allow borderpx = 0
This commit is contained in:
parent
f125e1b9a4
commit
5bd9be3a75
1 changed files with 2 additions and 2 deletions
4
dwl.c
4
dwl.c
|
@ -1731,7 +1731,7 @@ renderclients(Monitor *m, struct timespec *now)
|
||||||
wlr_output_layout_output_coords(output_layout, m->wlr_output,
|
wlr_output_layout_output_coords(output_layout, m->wlr_output,
|
||||||
&ox, &oy);
|
&ox, &oy);
|
||||||
|
|
||||||
if (c->bw == 0)
|
if (c->isfullscreen || borderpx == 0)
|
||||||
goto render;
|
goto render;
|
||||||
|
|
||||||
w = surface->current.width;
|
w = surface->current.width;
|
||||||
|
@ -1751,7 +1751,7 @@ renderclients(Monitor *m, struct timespec *now)
|
||||||
m->wlr_output->transform_matrix);
|
m->wlr_output->transform_matrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
render:
|
render:
|
||||||
/* 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;
|
||||||
|
|
Loading…
Reference in a new issue