summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-11-11 09:14:56 +0000
committerMichael Weber <xmw@gentoo.org>2010-11-11 09:14:56 +0000
commitc5975cfea5309ede3276ff1bfc22854be8d41055 (patch)
treede88fa6e73f44d1854ffe9d1a394d2a4580b1010 /x11-wm/compiz/files
parentAdded ~arm keyword (bug #344821) (diff)
downloadhistorical-c5975cfea5309ede3276ff1bfc22854be8d41055.tar.gz
historical-c5975cfea5309ede3276ff1bfc22854be8d41055.tar.bz2
historical-c5975cfea5309ede3276ff1bfc22854be8d41055.zip
Add fontcorruption.patch
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/compiz/files')
-rw-r--r--x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch b/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch
new file mode 100644
index 000000000000..1ef84a17ced7
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch
@@ -0,0 +1,23 @@
+From 0f95c41a0aa175ddf7947ba18b01f746c95594a9 Mon Sep 17 00:00:00 2001
+From: Paul Donohue <compiz@paulsd.com>
+Date: Sun, 17 Oct 2010 16:24:14 +0000
+Subject: Fix pixmap size calculation, server drawn borders are also included in
+the pixmap.
+---
+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);
+ }
+--
+cgit v0.8.3.1-30-gff3a