Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 173221 Details for
Bug 255401
xpdf and multi-button mice
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
a patch to make at least mouse buttons 8 and 9 usable in xpdf
xpdf-3.02-mbuttons.patch (text/plain), 2.14 KB, created by
Michal Jaegermann
on 2007-08-27 04:05:56 UTC
(
hide
)
Description:
a patch to make at least mouse buttons 8 and 9 usable in xpdf
Filename:
MIME Type:
Creator:
Michal Jaegermann
Created:
2007-08-27 04:05:56 UTC
Size:
2.14 KB
patch
obsolete
>--- xpdf-3.02/xpdf/GlobalParams.cc~ 2007-02-27 15:05:52.000000000 -0700 >+++ xpdf-3.02/xpdf/GlobalParams.cc 2007-08-26 21:40:46.000000000 -0600 >@@ -1574,10 +1574,10 @@ GBool GlobalParams::parseKey(GString *mo > !p0[3]) { > *code = xpdfKeyCodeF1 + 10 * (p0[1] - '0') + (p0[2] - '0') - 1; > } else if (!strncmp(p0, "mousePress", 10) && >- p0[10] >= '1' && p0[10] <= '7' && !p0[11]) { >+ p0[10] >= '1' && p0[10] <= '9' && !p0[11]) { > *code = xpdfKeyCodeMousePress1 + (p0[10] - '1'); > } else if (!strncmp(p0, "mouseRelease", 12) && >- p0[12] >= '1' && p0[12] <= '7' && !p0[13]) { >+ p0[12] >= '1' && p0[12] <= '9' && !p0[13]) { > *code = xpdfKeyCodeMouseRelease1 + (p0[12] - '1'); > } else if (*p0 >= 0x20 && *p0 <= 0x7e && !p0[1]) { > *code = (int)*p0; >--- xpdf-3.02/xpdf/GlobalParams.h~ 2007-02-27 15:05:52.000000000 -0700 >+++ xpdf-3.02/xpdf/GlobalParams.h 2007-08-26 21:35:00.000000000 -0600 >@@ -164,6 +164,8 @@ public: > #define xpdfKeyCodeMousePress5 0x2005 > #define xpdfKeyCodeMousePress6 0x2006 > #define xpdfKeyCodeMousePress7 0x2007 >+#define xpdfKeyCodeMousePress8 0x2008 >+#define xpdfKeyCodeMousePress9 0x2009 > #define xpdfKeyCodeMouseRelease1 0x2101 > #define xpdfKeyCodeMouseRelease2 0x2102 > #define xpdfKeyCodeMouseRelease3 0x2103 >@@ -171,6 +173,8 @@ public: > #define xpdfKeyCodeMouseRelease5 0x2105 > #define xpdfKeyCodeMouseRelease6 0x2106 > #define xpdfKeyCodeMouseRelease7 0x2107 >+#define xpdfKeyCodeMouseRelease8 0x2108 >+#define xpdfKeyCodeMouseRelease9 0x2109 > #define xpdfKeyModNone 0 > #define xpdfKeyModShift (1 << 0) > #define xpdfKeyModCtrl (1 << 1) >--- xpdf-3.02/doc/xpdfrc.5~ 2007-08-26 13:28:48.000000000 -0600 >+++ xpdf-3.02/doc/xpdfrc.5 2007-08-26 22:03:24.000000000 -0600 >@@ -483,8 +483,8 @@ can be a regular ASCII character, or any > pgdn > left / right / up / down (arrow keys) > f1 .. f35 (function keys) >- mousePress1 .. mousePress7 (mouse buttons) >- mouseRelease1 .. mouseRelease7 (mouse buttons) >+ mousePress1 .. mousePress9 (mouse buttons) >+ mouseRelease1 .. mouseRelease9 (mouse buttons) > > .fi > .I Context
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255401
: 173221