| author | Paul Donohue <compiz@paulsd.com> | 2010-10-17 16:24:14 (GMT) |
|---|---|---|
| committer | Danny Baumann <dannybaumann@web.de> | 2010-10-17 16:24:14 (GMT) |
| commit | 0f95c41a0aa175ddf7947ba18b01f746c95594a9 (patch) (side-by-side diff) | |
| tree | 881412b5b663d5ee1dc99a3d3736aebc9ef1ca3f | |
| parent | 5ea5e2130c56d405fcccd63932918fc49ca1f1b9 (diff) | |
| download | core-0f95c41a0aa175ddf7947ba18b01f746c95594a9.tar.gz core-0f95c41a0aa175ddf7947ba18b01f746c95594a9.tar.bz2 | |
Fix pixmap size calculation, server drawn borders are also included in
the pixmap.
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index a925288..6674643 100644 --- a/src/window.c +++ b/src/window.c @@ -1446,8 +1446,8 @@ bindWindow (CompWindow *w) } w->pixmap = XCompositeNameWindowPixmap (dpy, w->id); - w->width = attr.width; - w->height = attr.height; + w->width = attr.width + attr.border_width * 2; + w->height = attr.height + attr.border_width * 2; XUngrabServer (dpy); } |
