aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-17 10:06:36 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-17 10:06:36 +0200
commit5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2 (patch)
tree07969fb07489ddcd5e6dd653c91aab93bb218ce5 /client.c
parenta420ceab50b896a6b6edc81c2a42c4ddc75b867e (diff)
downloaddwm-5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2.tar.gz
fixed a bug reported by sander
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 73f21ed..b158f01 100644
--- 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)