aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;