mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
simplify fullscreen expression
This commit is contained in:
parent
2e9c4d8ea9
commit
0c1e621b82
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
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) {
|
||||
|
|
Loading…
Reference in a new issue