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 293101 Details for
Bug 430414
xterm pointer hiding not quite successful - make it stop
[?]
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]
patch to implement new option and resource
patch.txt (text/plain), 4.60 KB, created by
Tom Horsley
on 2008-01-28 02:32:47 UTC
(
hide
)
Description:
patch to implement new option and resource
Filename:
MIME Type:
Creator:
Tom Horsley
Created:
2008-01-28 02:32:47 UTC
Size:
4.60 KB
patch
obsolete
>Patch xterm to provide new -hp +hp options and hidePointer resource to >disable pointer hiding so I can tell which way to move the dadgum mouse when >I want to use it to select some text. Default behavior remains the utterly >anoying and useless pointer hiding behavior :-). > >--- xterm-231/ptyx.h 2007-12-30 11:55:26.000000000 -0500 >+++ xterm-231/ptyx.h 2008-01-27 21:14:29.000000000 -0500 >@@ -1861,6 +1861,7 @@ > Boolean log_on; > #endif > Boolean login_shell; >+ Boolean hide_pointer; > Boolean re_verse; > Boolean re_verse0; /* initial value of "-rv" */ > XtGravity resizeGravity; >--- xterm-231/xterm.h 2007-12-31 16:03:41.000000000 -0500 >+++ xterm-231/xterm.h 2008-01-27 21:14:29.000000000 -0500 >@@ -392,6 +392,7 @@ > #define XtNfontStyle "fontStyle" > #define XtNforceBoxChars "forceBoxChars" > #define XtNfreeBoldBox "freeBoldBox" >+#define XtNhidePointer "hidePointer" > #define XtNhighlightColor "highlightColor" > #define XtNhighlightColorMode "highlightColorMode" > #define XtNhighlightReverse "highlightReverse" >@@ -539,6 +540,7 @@ > #define XtCFontStyle "FontStyle" > #define XtCForceBoxChars "ForceBoxChars" > #define XtCFreeBoldBox "FreeBoldBox" >+#define XtCHidePointer "HidePointer" > #define XtCHighlightColorMode "HighlightColorMode" > #define XtCHighlightReverse "HighlightReverse" > #define XtCHighlightSelection "HighlightSelection" >--- xterm-231/charproc.c 2008-01-27 21:21:06.000000000 -0500 >+++ xterm-231/charproc.c 2008-01-27 21:14:29.000000000 -0500 >@@ -422,6 +422,7 @@ > Bres(XtNjumpScroll, XtCJumpScroll, screen.jumpscroll, True), > Bres(XtNkeepSelection, XtCKeepSelection, screen.keepSelection, False), > Bres(XtNloginShell, XtCLoginShell, misc.login_shell, False), >+ Bres(XtNhidePointer, XtCHidePointer, misc.hide_pointer, True), > Bres(XtNmarginBell, XtCMarginBell, screen.marginbell, False), > Bres(XtNmetaSendsEscape, XtCMetaSendsEscape, screen.meta_sends_esc, False), > Bres(XtNmultiScroll, XtCMultiScroll, screen.multiscroll, False), >--- xterm-231/main.c 2007-11-29 20:24:11.000000000 -0500 >+++ xterm-231/main.c 2008-01-27 21:14:29.000000000 -0500 >@@ -890,6 +890,8 @@ > {"-lf", "*logFile", XrmoptionSepArg, (caddr_t) NULL}, > {"-ls", "*loginShell", XrmoptionNoArg, (caddr_t) "on"}, > {"+ls", "*loginShell", XrmoptionNoArg, (caddr_t) "off"}, >+{"-hp", "*hidePointer", XrmoptionNoArg, (caddr_t) "on"}, >+{"+hp", "*hidePointer", XrmoptionNoArg, (caddr_t) "off"}, > {"-mb", "*marginBell", XrmoptionNoArg, (caddr_t) "on"}, > {"+mb", "*marginBell", XrmoptionNoArg, (caddr_t) "off"}, > {"-mc", "*multiClickTime", XrmoptionSepArg, (caddr_t) NULL}, >--- xterm-231/misc.c 2007-12-31 16:11:20.000000000 -0500 >+++ xterm-231/misc.c 2008-01-27 21:14:29.000000000 -0500 >@@ -313,7 +313,7 @@ > break; > } > } >- } else if (!(screen->hide_pointer) && (tried <= 0)) { >+ } else if (xw->misc.hide_pointer && (!(screen->hide_pointer) && (tried <= 0))) { > if (screen->hidden_cursor == 0) { > screen->hidden_cursor = make_hidden_cursor(); > } >--- xterm-231/os2main.c 2007-11-29 20:25:03.000000000 -0500 >+++ xterm-231/os2main.c 2008-01-27 21:14:29.000000000 -0500 >@@ -414,6 +414,8 @@ > {"-lf", "*logFile", XrmoptionSepArg, (caddr_t) NULL}, > {"-ls", "*loginShell", XrmoptionNoArg, (caddr_t) "on"}, > {"+ls", "*loginShell", XrmoptionNoArg, (caddr_t) "off"}, >+{"-hp", "*hidePointer", XrmoptionNoArg, (caddr_t) "on"}, >+{"+hp", "*hidePointer", XrmoptionNoArg, (caddr_t) "off"}, > {"-mb", "*marginBell", XrmoptionNoArg, (caddr_t) "on"}, > {"+mb", "*marginBell", XrmoptionNoArg, (caddr_t) "off"}, > {"-mc", "*multiClickTime", XrmoptionSepArg, (caddr_t) NULL}, >--- xterm-231/ptyx.h 2007-12-30 11:55:26.000000000 -0500 >+++ xterm-231/ptyx.h 2008-01-27 21:14:29.000000000 -0500 >@@ -1861,6 +1861,7 @@ > Boolean log_on; > #endif > Boolean login_shell; >+ Boolean hide_pointer; > Boolean re_verse; > Boolean re_verse0; /* initial value of "-rv" */ > XtGravity resizeGravity; >--- xterm-231/xterm.h 2007-12-31 16:03:41.000000000 -0500 >+++ xterm-231/xterm.h 2008-01-27 21:14:29.000000000 -0500 >@@ -392,6 +392,7 @@ > #define XtNfontStyle "fontStyle" > #define XtNforceBoxChars "forceBoxChars" > #define XtNfreeBoldBox "freeBoldBox" >+#define XtNhidePointer "hidePointer" > #define XtNhighlightColor "highlightColor" > #define XtNhighlightColorMode "highlightColorMode" > #define XtNhighlightReverse "highlightReverse" >@@ -539,6 +540,7 @@ > #define XtCFontStyle "FontStyle" > #define XtCForceBoxChars "ForceBoxChars" > #define XtCFreeBoldBox "FreeBoldBox" >+#define XtCHidePointer "HidePointer" > #define XtCHighlightColorMode "HighlightColorMode" > #define XtCHighlightReverse "HighlightReverse" > #define XtCHighlightSelection "HighlightSelection"
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 430414
: 293101