From cc4cb8e2773dab8806bfa5c79e30ed8e3d494424 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 19 Feb 2007 13:42:28 +0000 Subject: [PATCH] Revert last change. --- src/ChangeLog | 6 ------ src/w32term.c | 12 ------------ 2 files changed, 18 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 476c1059f77..9ad8b7d6c4d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,9 +1,3 @@ -2007-02-19 Kim F. Storm - - * w32term.c (w32_set_scroll_bar_thumb): Don't update thumb size - while dragging to avoid "random scrolling" effects. - Disable unused code. - 2007-02-17 YAMAMOTO Mitsuharu * 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) BOOL draggingp = !NILP (bar->dragging) ? TRUE : FALSE; SCROLLINFO si; - /* Dragging the w32 scroll-bar handle in a file like INSTALL.CVS - gives very odd scrolling behaviour with the code below which - "only updates page size if currently dragging". The cause - seems to be that the W32 api may "silently" adjust the thumb - position when the thumb page is change. - - So simply don't make any updates to the scroll-bar geometry - while dragging. KFS 2007-02-19. */ - - if (draggingp) - return; - if (whole) { #if 0 -- 2.39.2