summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/place.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 06:30:36 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 06:30:36 +0000
commitee0aa6b11588e883d69f2918b05684606bb27f51 (patch)
tree0addfde2fe1841b68e75b4d381ca482e9a5913c9 /beryl-plugins/src/place.c
parentab94774ba92cc067e3bcb022f4d289f74b7e15cd (diff)
downloadmarex-dev-ee0aa6b11588e883d69f2918b05684606bb27f51.tar.gz
marex-dev-ee0aa6b11588e883d69f2918b05684606bb27f51.tar.bz2
Account for window borders
git-svn-id: file:///beryl/trunk@1818 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/place.c')
-rw-r--r--beryl-plugins/src/place.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/beryl-plugins/src/place.c b/beryl-plugins/src/place.c
index a02744a..278f31e 100644
--- a/beryl-plugins/src/place.c
+++ b/beryl-plugins/src/place.c
@@ -548,6 +548,7 @@ static void placeIntelligent(CompWindow *w, int *x, int *y, GList *windows){
XRectangle wRect = RECTANGLE_FROM_WINDOW(w);
XRectangle sRect = {0,0,0,0};
+ wRect.height+=w->serverBorderWidth;
CompScreen *screen = w->screen;