changeset 105153:fd551d987ca7

* nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Wed, 23 Sep 2009 01:07:45 +0000
parents 677719c71dbc
children a46a26bd9a4c
files src/ChangeLog src/nsterm.m
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Sep 23 00:22:08 2009 +0000
+++ b/src/ChangeLog	Wed Sep 23 01:07:45 2009 +0000
@@ -1,6 +1,7 @@
 2009-09-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
+	(EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY.
 
 	* nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been
 	deleted (bug #4492).
--- a/src/nsterm.m	Wed Sep 23 00:22:08 2009 +0000
+++ b/src/nsterm.m	Wed Sep 23 01:07:45 2009 +0000
@@ -5946,7 +5946,7 @@
 
       /* set a timer to repeat, as we can't let superclass do this modally */
       scroll_repeat_entry
-	= [[NSTimer scheduledTimerWithTimeInterval: 0.5
+	= [[NSTimer scheduledTimerWithTimeInterval: SCROLL_BAR_FIRST_DELAY
                                             target: self
                                           selector: @selector (repeatScroll:)
                                           userInfo: 0