fixed a bug reported by sander - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2 (DIR) parent a420ceab50b896a6b6edc81c2a42c4ddc75b867e (HTM) Author: Anselm R.Garbe <arg@10ksloc.org> Date: Thu, 17 Aug 2006 10:06:36 +0200 fixed a bug reported by sander Diffstat: M client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/client.c b/client.c @@ -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)