Mercurial > hg > xemacs-beta
diff src/scrollbar.c @ 82:6a378aca36af r20-0b91
Import from CVS: tag r20-0b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:07:36 +0200 |
parents | 131b0175ea99 |
children | a145efe76779 |
line wrap: on
line diff
--- a/src/scrollbar.c Mon Aug 13 09:06:45 2007 +0200 +++ b/src/scrollbar.c Mon Aug 13 09:07:36 2007 +0200 @@ -720,7 +720,8 @@ with their standard behaviors. It is not possible to hide the differences down in lwlib because knowledge of XEmacs buffer and cursor motion routines is necessary. */ -#if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) +#if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) || \ + defined (LWLIB_SCROLLBARS_ATHENA3D) window_scroll (window, Qnil, -1, ERROR_ME_NOT); #else /* Athena */ { @@ -760,7 +761,8 @@ with their standard behaviors. It is not possible to hide the differences down in lwlib because knowledge of XEmacs buffer and cursor motion routines is necessary. */ -#if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) +#if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) || \ + defined (LWLIB_SCROLLBARS_ATHENA3D) window_scroll (window, Qnil, 1, ERROR_ME_NOT); #else /* Athena */ { @@ -828,6 +830,7 @@ start_pos = scrollbar_point (XWINDOW (window), 1); Fset_window_start (window, make_int (start_pos), Qnil); scrollbar_reset_cursor (window, orig_pt); + Fsit_for(Qzero, Qnil); zmacs_region_stays = 1; return Qnil; }