1
0
mirror of git://git.suckless.org/dwm synced 2024-12-18 13:14:59 +00:00

fixed a bug reported by sander

This commit is contained in:
Anselm R.Garbe 2006-08-17 10:06:36 +02:00
parent a420ceab50
commit 5e9acbc952

View File

@ -296,7 +296,7 @@ resize(Client *c, Bool sizehints, Corner sticky)
if(c->x > sw) /* might happen on restart */
c->x = sw - c->w;
if(c->y > sh)
c->y = bottom - c->h;
c->y = sh - c->h;
if(sticky == TopRight || sticky == BotRight)
c->x = right - c->w;
if(sticky == BotLeft || sticky == BotRight)