summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.3-forward_back.patch')
-rw-r--r--app-text/mupdf/files/mupdf-1.3-forward_back.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.3-forward_back.patch b/app-text/mupdf/files/mupdf-1.3-forward_back.patch
new file mode 100644
index 000000000000..aafe35af65d7
--- /dev/null
+++ b/app-text/mupdf/files/mupdf-1.3-forward_back.patch
@@ -0,0 +1,25 @@
+Add F86XK_Forward and XF86XK_Back for page switch by muhpdf@binkmail.com
+on http://bugs.ghostscript.com/show_bug.cgi?id=693494
+
+--- mupdf-1.3/platform/x11/x11_main.c
++++ mupdf-1.3/platform/x11/x11_main.c
+@@ -5,6 +5,7 @@
+ #include <X11/Xatom.h>
+ #include <X11/cursorfont.h>
+ #include <X11/keysym.h>
++#include <X11/XF86keysym.h>
+
+ #include <sys/select.h>
+ #include <sys/time.h>
+@@ -836,9 +837,11 @@
+ break;
+
+ case XK_Page_Up:
++ case XF86XK_Back:
+ len = 1; buf[0] = ',';
+ break;
+ case XK_Page_Down:
++ case XF86XK_Forward:
+ len = 1; buf[0] = '.';
+ break;
+ }