diff options
author | Luis Medinas <metalgod@gentoo.org> | 2005-10-10 00:42:47 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2005-10-10 00:42:47 +0000 |
commit | 3df1aadfb45a37a956e89c773a57e5e2cd228173 (patch) | |
tree | 03af0b1780a328bf131d08c9a397c9b11c2b73e8 /app-text/xpdf/files | |
parent | Removing unneeded version. (diff) | |
download | gentoo-2-3df1aadfb45a37a956e89c773a57e5e2cd228173.tar.gz gentoo-2-3df1aadfb45a37a956e89c773a57e5e2cd228173.tar.bz2 gentoo-2-3df1aadfb45a37a956e89c773a57e5e2cd228173.zip |
Added upstream patch to fix resize bug. Closes bug #105735.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-text/xpdf/files')
-rw-r--r-- | app-text/xpdf/files/digest-xpdf-3.01-r1 | 12 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.01-resize.patch | 36 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-text/xpdf/files/digest-xpdf-3.01-r1 b/app-text/xpdf/files/digest-xpdf-3.01-r1 new file mode 100644 index 000000000000..a9aeca0c2984 --- /dev/null +++ b/app-text/xpdf/files/digest-xpdf-3.01-r1 @@ -0,0 +1,12 @@ +MD5 e004c69c7dddef165d768b1362b44268 xpdf-3.01.tar.gz 599778 +MD5 67f05f65bc64bf022b36138c7c26746d xpdf-arabic.tar.gz 1058 +MD5 713659f0282b9e3d169390e246e5eb74 xpdf-chinese-simplified.tar.gz 756127 +MD5 5be730b859f8b01de569eb1bad188426 xpdf-chinese-traditional.tar.gz 698902 +MD5 21f57122247e2e2a63bfed4dc4f6c199 xpdf-cyrillic.tar.gz 1286 +MD5 2240a364b9c28ce09fd8c3107784ce40 xpdf-greek.tar.gz 1124 +MD5 438dd417517641cbb78a94facf2d938e xpdf-hebrew.tar.gz 1314 +MD5 57bb9359437583479b6670e75fa06c31 xpdf-japanese.tar.gz 430478 +MD5 10cd92e4eef065a6a26341d9a2a1b5c2 xpdf-korean.tar.gz 419081 +MD5 ac19ef990cd63afd2837c10dc7e1c3ab xpdf-latin2.tar.gz 1435 +MD5 9af495766ee4eaf3411d1fa74560f0ec xpdf-thai.tar.gz 1876 +MD5 f9233880805e3d8d2cf15a4fe679f25b xpdf-turkish.tar.gz 1140 diff --git a/app-text/xpdf/files/xpdf-3.01-resize.patch b/app-text/xpdf/files/xpdf-3.01-resize.patch new file mode 100644 index 000000000000..c1240c3406f0 --- /dev/null +++ b/app-text/xpdf/files/xpdf-3.01-resize.patch @@ -0,0 +1,36 @@ +--- xpdf-3.01/xpdf/XPDFCore.cc.resize 2005-10-06 23:40:10.000000000 +0200 ++++ xpdf-3.01/xpdf/XPDFCore.cc 2005-10-06 23:40:10.000000000 +0200 +@@ -979,6 +979,9 @@ + XPDFCore *core = (XPDFCore *)ptr; + XEvent event; + Widget top; ++ Window rootWin; ++ int x1, y1; ++ Guint w1, h1, bw1, depth1; + Arg args[2]; + int n; + Dimension w, h; +@@ -986,15 +989,20 @@ + + // find the top-most widget which has an associated window, and look + // for a pending ConfigureNotify in the event queue -- if there is +- // one, that means we're still resizing, and we want to skip the +- // current event ++ // one, and it specifies a different width or height, that means ++ // we're still resizing, and we want to skip the current event + for (top = core->parentWidget; + XtParent(top) && XtWindow(XtParent(top)); + top = XtParent(top)) ; + if (XCheckTypedWindowEvent(core->display, XtWindow(top), + ConfigureNotify, &event)) { + XPutBackEvent(core->display, &event); +- return; ++ XGetGeometry(core->display, event.xconfigure.window, ++ &rootWin, &x1, &y1, &w1, &h1, &bw1, &depth1); ++ if ((Guint)event.xconfigure.width != w1 || ++ (Guint)event.xconfigure.height != h1) { ++ return; ++ } + } + + n = 0; |