aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2007-02-19 13:42:28 +0000
committerKim F. Storm2007-02-19 13:42:28 +0000
commitcc4cb8e2773dab8806bfa5c79e30ed8e3d494424 (patch)
tree39fe4232329394854d41598f38342931f2722809 /src
parentb7f61dfee8849f3057903050e85f3f372c55b478 (diff)
downloademacs-cc4cb8e2773dab8806bfa5c79e30ed8e3d494424.tar.gz
emacs-cc4cb8e2773dab8806bfa5c79e30ed8e3d494424.zip
Revert last change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/w32term.c12
2 files changed, 0 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 476c1059f77..9ad8b7d6c4d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,3 @@
12007-02-19 Kim F. Storm <storm@cua.dk>
2
3 * w32term.c (w32_set_scroll_bar_thumb): Don't update thumb size
4 while dragging to avoid "random scrolling" effects.
5 Disable unused code.
6
72007-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 12007-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8 2
9 * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) 3 * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc)
diff --git a/src/w32term.c b/src/w32term.c
index 62859040020..2c6559c8932 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3478,18 +3478,6 @@ w32_set_scroll_bar_thumb (bar, portion, position, whole)
3478 BOOL draggingp = !NILP (bar->dragging) ? TRUE : FALSE; 3478 BOOL draggingp = !NILP (bar->dragging) ? TRUE : FALSE;
3479 SCROLLINFO si; 3479 SCROLLINFO si;
3480 3480
3481 /* Dragging the w32 scroll-bar handle in a file like INSTALL.CVS
3482 gives very odd scrolling behaviour with the code below which
3483 "only updates page size if currently dragging". The cause
3484 seems to be that the W32 api may "silently" adjust the thumb
3485 position when the thumb page is change.
3486
3487 So simply don't make any updates to the scroll-bar geometry
3488 while dragging. KFS 2007-02-19. */
3489
3490 if (draggingp)
3491 return;
3492
3493 if (whole) 3481 if (whole)
3494 { 3482 {
3495#if 0 3483#if 0