Compare commits

..

3 Commits
3.8 ... 3.9

3 changed files with 5 additions and 2 deletions

View File

@ -40,3 +40,4 @@ d3876aa792923f9a95f7ad0c7f0134533404df35 3.2.2
75b1b25fe0d7e29400baf30568153f668324928b 3.6
20ec6976cee1fcfee0c2f354ae382ee3f9f68efa 3.6.1
baee494346e520f8dee2cee9491b8350064770d2 3.7
2ea201354cf016407ea93e1e390d1422940d29b0 3.8

View File

@ -233,7 +233,7 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
if(w <= 0 || h <= 0)
return;
if(sizehints) {
if(c->minay > 0 && c->maxay && (h - c->baseh) > 0) {
if(c->minay > 0 && c->maxay > 0 && (h - c->baseh) > 0) {
dx = (float)(w - c->basew);
dy = (float)(h - c->baseh);
min = (float)(c->minax) / (float)(c->minay);
@ -267,6 +267,8 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
if(c->inch)
h -= (h - c->baseh) % c->inch;
}
if(w <= 0 || h <= 0)
return;
if(w == sw && h == sh)
c->border = 0;
else

View File

@ -1,5 +1,5 @@
# dwm version
VERSION = 3.8
VERSION = 3.9
# Customize below to fit your system