projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac1099
)
was incorrectly using the width for calculations instead of the height in client_find...
author
Dana Jansens
<danakj@orodu.net>
Sun, 15 Jul 2007 15:45:55 +0000
(11:45 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 15 Jul 2007 15:45:55 +0000
(11:45 -0400)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
2b7bdc7
..
8b2087d
100644
(file)
--- 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 - f
w
*9/10;
+ *y = a->y - f
h
*9/10;
}
/* This here doesn't let windows even a pixel outside the