Mercurial > emacs
diff src/gtkutil.h @ 50270:fa50953c02dc
Finally (?) fix flicker in scroll bar.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 23 Mar 2003 00:59:23 +0000 |
parents | 334078c4c044 |
children | 695cf19ef79e |
line wrap: on
line diff
--- a/src/gtkutil.h Sat Mar 22 21:44:38 2003 +0000 +++ b/src/gtkutil.h Sun Mar 23 00:59:23 2003 +0000 @@ -30,8 +30,9 @@ /* 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 @@ 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,