diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2021-09-08 23:16:56 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2021-09-08 23:21:28 -0500 |
commit | 0c1e621b82fb55b5994ae5ab9956160a47dfec80 (patch) | |
tree | cff9cfee4796218239ff7ccea4f99bf1be4c50b8 /dwl.c | |
parent | 2e9c4d8ea90e47667ef4fa417aa3e6f46034699e (diff) |
simplify fullscreen expression
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |