summaryrefslogtreecommitdiff
path: root/src/gtkutil.h
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2003-03-23 00:59:23 +0000
committerJan Djärv <jan.h.d@swipnet.se>2003-03-23 00:59:23 +0000
commit7863d62580ba300daabda98db9f908ada25fd43b (patch)
tree187e97e400dafad8bd25959417c4d8aa40e0167b /src/gtkutil.h
parent56c806b77e709c1c64889e4ddf2c03603b4bf3c0 (diff)
downloademacs-7863d62580ba300daabda98db9f908ada25fd43b.tar.gz
Finally (?) fix flicker in scroll bar.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h7
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,