*** scrollbar.c.org Wed Apr 8 13:35:20 1998 --- scrollbar.c Wed Apr 8 13:49:15 1998 *************** *** 41,46 **** --- 41,50 ---- #include "error.h" #include "menu.h" + #ifdef WALLPAPER + extern XImage *image; + #endif /* WALLPAPER */ + /* Event handlers */ static void ScrollTextTo(); *************** *** 303,314 **** --- 307,328 ---- refreshtop = scrollheight; } x = screen->scrollbar + screen->border; + #ifdef WALLPAPER + if (image){ + screen->topline = top; + ScrollSelection(screen, i); + } + #endif /* WALLPAPER */ scrolling_copy_area(screen, scrolltop, scrollheight, -i); + #ifdef WALLPAPER + if (!image){ + #endif /* WALLPAPER */ screen->topline = top; ScrollSelection(screen, i); #ifdef WALLPAPER + } ClearArea( #else /* WALLPAPER */ XClearArea(