missing scrollbar in X11_display_file [from Steve VanDevender]

It appears that the Athena text widget in recent XFree86 distributions
does not properly honor the XawtextScrollWhenNeeded flag, so the text
widget created by X11_display_file() does not have a vertical scroll bar
when the text does not entirely fit in the window.  I have seen this bug
in XFree86 versions from 4.0.2 through 4.3.0.  Using XawtextScrollAlways
for the vertical scrollbar ensures it will always appear.
This commit is contained in:
cohrs
2004-10-03 21:59:18 +00:00
parent c2d510a3f2
commit 4c9d161953
2 changed files with 2 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ unix: remove use of parentheses in nethack man page usage that confused a
man page conversion tool
winCE: disable processing of double-click messages if the first click
causes map to scroll
X11: ensure vertical scrollbar shows up in text display windows
General New Features

View File

@@ -1489,7 +1489,7 @@ X11_display_file(str, complain)
XtSetArg(args[num_args], XtNscrollHorizontal,
XawtextScrollWhenNeeded); num_args++;
XtSetArg(args[num_args], XtNscrollVertical,
XawtextScrollWhenNeeded); num_args++;
XawtextScrollAlways); num_args++;
XtSetArg(args[num_args], XtNtype, XawAsciiString); num_args++;
XtSetArg(args[num_args], XtNstring, textlines); num_args++;
XtSetArg(args[num_args], XtNdisplayCaret, False); num_args++;