… | |
… | |
162 | topShadowGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
162 | topShadowGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
163 | gcvalue.foreground = term->pix_colors[Color_bottomShadow]; |
163 | gcvalue.foreground = term->pix_colors[Color_bottomShadow]; |
164 | botShadowGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
164 | botShadowGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
165 | gcvalue.foreground = term->pix_colors[ (term->depth <= 2 ? Color_fg : Color_scroll)]; |
165 | gcvalue.foreground = term->pix_colors[ (term->depth <= 2 ? Color_fg : Color_scroll)]; |
166 | scrollbarGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
166 | scrollbarGC = XCreateGC (term->dpy, term->vt, GCForeground, &gcvalue); |
167 | if (shadow) |
|
|
168 | { |
|
|
169 | XSetWindowBackground (term->dpy, win, term->pix_colors_focused[Color_trough]); |
|
|
170 | XClearWindow (term->dpy, win); |
|
|
171 | } |
|
|
172 | } |
167 | } |
173 | else |
168 | else |
174 | { |
169 | { |
175 | if (update) |
170 | if (update) |
176 | { |
171 | { |