summaryrefslogtreecommitdiff
authorDanny Baumann <dannybaumann@web.de>2010-03-05 08:16:21 (GMT)
committer Danny Baumann <dannybaumann@web.de>2010-03-05 08:16:21 (GMT)
commit6d4833f0e3217c63f516acbdc90796b4d78eecfb (patch) (side-by-side diff)
tree495769db20350f9e8c0dc02a873ccc4597e336c2
parent54833da0e3d8efb946dcb38afe27914a47f1565f (diff)
downloadcore-6d4833f0e3217c63f516acbdc90796b4d78eecfb.tar.gz
core-6d4833f0e3217c63f516acbdc90796b4d78eecfb.tar.bz2
Make sure w->width and w->height always reflect the size of the pixmap.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index ca4b112..24300fe 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1446,6 +1446,8 @@ bindWindow (CompWindow *w)
}
w->pixmap = XCompositeNameWindowPixmap (dpy, w->id);
+ w->width = attr.width;
+ w->height = attr.height;
XUngrabServer (dpy);
}