Tue Oct 12 16:24:20 PDT 1999 Michael Jennings <mej@eterm.org>

Fixed a scrollbar refresh bug pointed out by Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 802
This commit is contained in:
Michael Jennings 1999-10-12 18:51:56 +00:00
parent 8cab1e0245
commit 85006099b6
3 changed files with 20 additions and 2 deletions

View File

@ -2581,3 +2581,9 @@ Mon Oct 11 22:24:12 PDT 1999 Michael Jennings <mej@eterm.org>
Sync after resize in auto mode.
-------------------------------------------------------------------------------
Tue Oct 12 16:24:20 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a scrollbar refresh bug pointed out by Sung-Hyun Nam
<namsh@lgic.co.kr>.
-------------------------------------------------------------------------------

View File

@ -175,6 +175,15 @@ AC_ARG_WITH(debugging, [ --with-debugging[=num] enable debugging output, num i
AC_DEFINE_UNQUOTED(DEBUG, 4)
)
AC_CHECK_FUNC(ptsname,
HAVE_PTSNAME=yes
)
AC_CHECK_FUNC(grantpt,
HAVE_GRANTPT=yes
)
AC_CHECK_FUNC(unlockpt,
HAVE_UNLOCKPT=yes
)
dnl# Check for the appropriate pty mechanism
AC_MSG_CHECKING(for pty mechanism)
PTY_MECH=""
@ -182,11 +191,11 @@ if test -e /dev/ptc ; then
AC_DEFINE(HAVE_DEV_PTC)
PTY_MECH="AIX $PTY_MECH"
fi
if test -e /dev/ptmx ; then
if test -r /dev/ptmx -a ! -z "$HAVE_PTSNAME" -a ! -z "$HAVE_GRANTPT" -a ! -z "$HAVE_UNLOCKPT"; then
AC_DEFINE(HAVE_DEV_PTMX)
PTY_MECH="SVR4 $PTY_MECH"
fi
if test -e /dev/ptyp128 ; then
if test -c /dev/ptyp128 ; then
AC_DEFINE(HAVE_SCO_PTYS)
PTY_MECH="SCO $PTY_MECH"
fi

View File

@ -758,6 +758,9 @@ scrollbar_show(short mouseoffset)
#endif /* MOTIF_SCROLLBAR || NEXT_SCROLLBAR */
}
#if defined(MOTIF_SCROLLBAR) || defined(NEXT_SCROLLBAR)
else if (image_mode_is(image_sb, (MODE_TRANS | MODE_VIEWPORT))) {
render_simage(images[image_sb].current, scrollBar.win, scrollbar_trough_width(), scrollbar_trough_height(), image_sb, 0);
}
if (scrollBar.type == SCROLLBAR_MOTIF || scrollBar.type == SCROLLBAR_NEXT) {
if (focus != TermWin.focus) {
XGCValues gcvalue;