summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-15 11:45:55 -0400
committerDana Jansens <danakj@orodu.net>2007-07-15 11:45:55 -0400
commitfd8af998eaa7f22570959d400ee21e66624940ff (patch)
tree7ff472442b065d4c11872c7cfe2ef12c2426c161
parent9ac1099e1432d9ff0a4e13b6179267a475f27334 (diff)
was incorrectly using the width for calculations instead of the height in client_find_onscreen
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 2b7bdc7a..8b2087d0 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1003,7 +1003,7 @@ gboolean client_find_onscreen(ObClient *self, gint *x, gint *y, gint w, gint h,
if (!self->strut.left && *x + fw*9/10 - 1 < a->x)
*x = a->x - fw*9/10;
if (!self->strut.top && *y + fh*9/10 - 1 < a->y)
- *y = a->y - fw*9/10;
+ *y = a->y - fh*9/10;
}
/* This here doesn't let windows even a pixel outside the