[hackers] [dwm] simplify isfixed conditions || Daniel Cousens

From: <git_AT_suckless.org>
Date: Wed, 11 Oct 2017 09:46:37 +0200 (CEST)

commit 6aa8e37efe22c8a2a7713d9a437491c564c04b7e
Author: Daniel Cousens <github_AT_dcousens.com>
AuthorDate: Wed Oct 11 08:10:45 2017 +1100
Commit: Anselm R Garbe <garbeam_AT_gmail.com>
CommitDate: Wed Oct 11 09:46:28 2017 +0200

    simplify isfixed conditions

diff --git a/dwm.c b/dwm.c
index a5ce993..4782343 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -1981,8 +1981,7 @@ updatesizehints(Client *c)
                 c->maxa = (float)size.max_aspect.x / size.max_aspect.y;
         } else
                 c->maxa = c->mina = 0.0;
- c->isfixed = (c->maxw && c->minw && c->maxh && c->minh
- && c->maxw == c->minw && c->maxh == c->minh);
+ c->isfixed = (c->maxw && c->maxh && c->maxw == c->minw && c->maxh == c->minh);
 }
 
 void
Received on Wed Oct 11 2017 - 09:46:37 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 11 2017 - 09:48:24 CEST