summaryrefslogtreecommitdiff
path: root/src/scrollbar.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2000-01-03 09:40:14 +0000
committerMichael Jennings <mej@kainx.org>2000-01-03 09:40:14 +0000
commitea41c7f739bf678ebbb843395bc45979b3f14cb3 (patch)
tree799ad528df3e2af33a7576276fc57ebde99d8303 /src/scrollbar.c
parent04b6556890b0d7743c8f822ac11f6ea384d4234d (diff)
downloadeterm-ea41c7f739bf678ebbb843395bc45979b3f14cb3.tar.gz
Mon Jan 3 12:47:59 PST 2000 Michael Jennings <mej@eterm.org>
Fixed the bug with a solid scrollbar not updating colors when the focus changed. Pointed out by cirin <stevenr@houston.rr.com>. SVN revision: 1824
Diffstat (limited to 'src/scrollbar.c')
-rw-r--r--src/scrollbar.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/scrollbar.c b/src/scrollbar.c
index fb32eec..8d03817 100644
--- a/src/scrollbar.c
+++ b/src/scrollbar.c
@@ -675,28 +675,6 @@ void
scrollbar_reset(void)
{
D_SCROLLBAR(("scrollbar_reset()\n"));
-#if 0
- if (gc_scrollbar != None) {
- XFreeGC(Xdisplay, gc_scrollbar);
- gc_scrollbar = None;
- }
-# if defined(MOTIF_SCROLLBAR) || defined(NEXT_SCROLLBAR)
- if (gc_top != None) {
- XFreeGC(Xdisplay, gc_top);
- gc_top = None;
- }
- if (gc_bottom != None) {
- XFreeGC(Xdisplay, gc_bottom);
- gc_bottom = None;
- }
-# endif
-# ifdef XTERM_SCROLLBAR
- if (gc_stipple != None) {
- XFreeGC(Xdisplay, gc_stipple);
- gc_stipple = None;
- }
-# endif
-#endif /* 0 */
last_top = last_bot = 0;
scrollbar.init = 0;
}