ed06a7905e
graphics/xpdf is renamed (actually copied) to xpdf3. Those who want to continue to use xpdf with a Motif interface can either install xpdf3 or set XPDF_VERSION=3 in make.conf and continue to install graphics/xpdf. This works around any POLA issues people might have between the old and the new. PR: 222002
13 lines
429 B
C++
13 lines
429 B
C++
--- xpdf/XPDFViewer.cc.orig 2008-04-04 15:36:27.000000000 +0300
|
|
+++ xpdf/XPDFViewer.cc 2008-04-04 15:41:05.000000000 +0300
|
|
@@ -569,6 +569,10 @@
|
|
keyCode = xpdfKeyCodeDown;
|
|
} else if (key >= XK_F1 && key <= XK_F35) {
|
|
keyCode = xpdfKeyCodeF1 + (key - XK_F1);
|
|
+ } else if (key == XK_KP_Add) {
|
|
+ keyCode = xpdfKeyPlus;
|
|
+ } else if (key == XK_KP_Subtract) {
|
|
+ keyCode = xpdfKeyMinus;
|
|
} else {
|
|
return;
|
|
}
|