aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-09-06 10:27:24 +0200
committerStivvo <stivvo01@gmail.com>2020-09-06 12:20:41 +0200
commitd8570d5ceb1c4e54854c38437fe1d24d8914e09c (patch)
treee19bedee5775e4dd63ce84ffcfee8554254c35f8
parent621d4c9173af194f703a6f197a50e597a8a20498 (diff)
Allow borderpx = 0
-rw-r--r--dwl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index 79a1116..0822508 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1254,7 +1254,7 @@ renderclients(Monitor *m, struct timespec *now)
wlr_output_layout_output_coords(output_layout, m->wlr_output,
&ox, &oy);
- if (c->bw == 0)
+ if (c->isfullscreen || borderpx == 0)
goto render;
w = surface->current.width;
@@ -1274,7 +1274,7 @@ renderclients(Monitor *m, struct timespec *now)
m->wlr_output->transform_matrix);
}
- render:
+render:
/* This calls our render function for each surface among the
* xdg_surface's toplevel and popups. */
rdata.output = m->wlr_output;