aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-09-06 10:27:24 +0200
committerGuido Cella <guido@guidocella.xyz>2020-12-19 18:06:11 +0100
commit5bd9be3a75b215b7f607ae46acf20765237925a8 (patch)
treea44c26649ec80247a9eb12f702bebfba5eacbf95
parentf125e1b9a4e05a5282765b0b699f8a097ea65783 (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 bc2a3e8..85a27f2 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1731,7 +1731,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;
@@ -1751,7 +1751,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;