From: Adrian Robert Date: Wed, 23 Sep 2009 01:07:45 +0000 (+0000) Subject: * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. X-Git-Tag: emacs-pretest-23.1.90~1191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3aac06a8c5da55c81e75cfaf4931ad4b2681747;p=emacs.git * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1e46905cd0d..fa85197417e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2009-09-22 Adrian Robert * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. + (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. * nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been deleted (bug #4492). diff --git a/src/nsterm.m b/src/nsterm.m index 8576ed1b484..e09037bceb5 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5946,7 +5946,7 @@ extern void update_window_cursor (struct window *w, int on); /* 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