Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
simplify fullscreen expression
Browse files Browse the repository at this point in the history
  • Loading branch information
djpohly committed Sep 9, 2021
1 parent 2e9c4d8 commit 0c1e621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c1e621

Please sign in to comment.