diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2003-03-23 00:59:23 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2003-03-23 00:59:23 +0000 |
commit | 51a4579b020487ffa9e95dd399aa02ebc2bb12d3 (patch) | |
tree | 82c45794817e2e697cb641441e73c7e238a77134 /src/gtkutil.h | |
parent | 0121c380eb6b92f0587aaec68332de1b8e045d53 (diff) | |
download | emacs-51a4579b020487ffa9e95dd399aa02ebc2bb12d3.tar.gz |
Finally (?) fix flicker in scroll bar.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r-- | src/gtkutil.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index 2284ff6e113..a53a3fd5bdc 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h @@ -30,8 +30,9 @@ Boston, MA 02111-1307, USA. */ /* Minimum and maximum values used for GTK scroll bars */ -#define XG_SB_MIN 0 +#define XG_SB_MIN 1 #define XG_SB_MAX 10000000 +#define XG_SB_RANGE (XG_SB_MAX-XG_SB_MIN) /* Key for data that is valid for menus in a frame */ #define XG_FRAME_DATA "emacs_frame" @@ -165,7 +166,9 @@ extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, int top, int left, int width, - int height)); + int height, + int real_left, + int canon_width)); extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, int portion, |