summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/place.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 03:16:40 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 03:16:40 +0000
commitaa698f0aab5f3a0da96e5edeef80f7572906d1e5 (patch)
tree6b2573346d7e584d5ca427e9a5f1496494624bf1 /beryl-plugins/src/place.c
parenta9f2debc0aff4cdec2a6b04fe99ac525589ef286 (diff)
downloadmarex-dev-aa698f0aab5f3a0da96e5edeef80f7572906d1e5.tar.gz
marex-dev-aa698f0aab5f3a0da96e5edeef80f7572906d1e5.tar.bz2
Slightly more intelligent
git-svn-id: file:///beryl/trunk@1787 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/place.c')
-rw-r--r--beryl-plugins/src/place.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/place.c b/beryl-plugins/src/place.c
index 10c5515..7578fa5 100644
--- a/beryl-plugins/src/place.c
+++ b/beryl-plugins/src/place.c
@@ -488,7 +488,7 @@ static void placeIntelligent(CompWindow *window, int *x, int *y){
int ox,oy;
ox=*x;
oy=*y;
- find_most_freespace(window,window,ox,oy,x,y);
+ find_most_freespace(window,window->prev,ox,oy,x,y);
/*
TODO: Make intelligent
*/