From ea41c7f739bf678ebbb843395bc45979b3f14cb3 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Mon, 3 Jan 2000 09:40:14 +0000 Subject: Mon Jan 3 12:47:59 PST 2000 Michael Jennings Fixed the bug with a solid scrollbar not updating colors when the focus changed. Pointed out by cirin . SVN revision: 1824 --- src/scrollbar.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/scrollbar.c') 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; } -- cgit v1.2.1