aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-29 15:09:42 +0000
committerGerd Moellmann1999-07-29 15:09:42 +0000
commiteb3935300f1a47074bbca6ccf7ac7b5810ddfc74 (patch)
treed6a4d9f2aa83a3498730c8f3193ebe3802dd51ac /src
parente2ee551e3b67afbd504e208b4389c55b6e9f4f57 (diff)
downloademacs-eb3935300f1a47074bbca6ccf7ac7b5810ddfc74.tar.gz
emacs-eb3935300f1a47074bbca6ccf7ac7b5810ddfc74.zip
(x_set_toolkit_scroll_bar_thumb): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 6acc03e51f6..e6b03347d66 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7469,7 +7469,13 @@ x_set_toolkit_scroll_bar_thumb (bar, portion, position, whole)
7469 check that your system's configuration file contains a define 7469 check that your system's configuration file contains a define
7470 for `NARROWPROTO'. See s/freebsd.h for an example. */ 7470 for `NARROWPROTO'. See s/freebsd.h for an example. */
7471 if (NILP (bar->dragging)) 7471 if (NILP (bar->dragging))
7472 XawScrollbarSetThumb (widget, top, shown); 7472 {
7473 float old_top, old_shown;
7474 XtVaGetValues (widget, XtNtopOfThumb, &old_top, XtNshown, &old_shown,
7475 NULL);
7476 if (top != old_top || shown != old_shown)
7477 XawScrollbarSetThumb (widget, top, shown);
7478 }
7473 else 7479 else
7474 { 7480 {
7475 ScrollbarWidget sb = (ScrollbarWidget) widget; 7481 ScrollbarWidget sb = (ScrollbarWidget) widget;