aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-09-08 23:21:51 -0500
committerDevin J. Pohly <djpohly@gmail.com>2021-09-08 23:21:51 -0500
commit40e45a336a2cef9fe76a5144f7da6ffa54110081 (patch)
tree9c12758222e784614eaf162c74a6a44d62b0d4a0
parent417e958a15d2c4b5fec22f5beeb4ee92c2f42e51 (diff)
parent0c1e621b82fb55b5994ae5ab9956160a47dfec80 (diff)
Merge branch 'main' into wlroots-next
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index a876e8c..c4ca60f 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1025,7 +1025,7 @@ void
setfullscreen(Client *c, int fullscreen)
{
c->isfullscreen = fullscreen;
- c->bw = (1 - fullscreen) * borderpx;
+ c->bw = fullscreen ? 0 : borderpx;
client_set_fullscreen(c, fullscreen);
if (fullscreen) {