JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed a bug reported by sander
authorAnselm R.Garbe <arg@10ksloc.org>
Thu, 17 Aug 2006 08:06:36 +0000 (10:06 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Thu, 17 Aug 2006 08:06:36 +0000 (10:06 +0200)
client.c

index 73f21ed..b158f01 100644 (file)
--- 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)