Mercurial > hg > xemacs-beta
comparison src/scrollbar-x.c @ 86:364816949b59 r20-0b93
Import from CVS: tag r20-0b93
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:09:02 +0200 |
parents | ac0620f6398e |
children | a145efe76779 |
comparison
equal
deleted
inserted
replaced
85:c661705957e0 | 86:364816949b59 |
---|---|
44 /* Used to prevent changing the size of the thumb while drag | 44 /* Used to prevent changing the size of the thumb while drag |
45 scrolling, under Motif. This is necessary because the Motif | 45 scrolling, under Motif. This is necessary because the Motif |
46 scrollbar is incredibly stupid about updating the thumb and causes | 46 scrollbar is incredibly stupid about updating the thumb and causes |
47 lots of flicker if it is done too often. */ | 47 lots of flicker if it is done too often. */ |
48 static int inhibit_thumb_size_change; | 48 static int inhibit_thumb_size_change; |
49 int stupid_vertical_scrollbar_drag_hack = 1; | 49 int stupid_vertical_scrollbar_drag_hack; |
50 | 50 |
51 /* Doesn't work with athena */ | 51 /* Doesn't work with athena */ |
52 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) | 52 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) |
53 static int vertical_drag_in_progress; | 53 static int vertical_drag_in_progress; |
54 #endif | 54 #endif |
856 #elif defined (LWLIB_SCROLLBARS_MOTIF) | 856 #elif defined (LWLIB_SCROLLBARS_MOTIF) |
857 Fprovide (intern ("motif-scrollbars")); | 857 Fprovide (intern ("motif-scrollbars")); |
858 #elif defined (LWLIB_SCROLLBARS_ATHENA) | 858 #elif defined (LWLIB_SCROLLBARS_ATHENA) |
859 Fprovide (intern ("athena-scrollbars")); | 859 Fprovide (intern ("athena-scrollbars")); |
860 #endif | 860 #endif |
861 } | 861 stupid_vertical_scrollbar_drag_hack = 1; |
862 } |