1
0
mirror of git://git.suckless.org/dwm synced 2025-07-26 01:32:08 -07:00

Compare commits

...

3 Commits
3.8 ... 3.9

Author SHA1 Message Date
Anselm R. Garbe
93aeaa53c9 next version will be 3.9, but don't expect it this week 2007-03-29 15:18:30 +02:00
Anselm R. Garbe
06f9f346e6 add an additional check in resize() to prevent a crash of dwm 2007-03-29 15:17:57 +02:00
Anselm R. Garbe
5c48012ad2 Added tag 3.8 for changeset 2ea201354cf0 2007-03-05 11:54:59 +01:00
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