… | |
… | |
132 | int sbwidth = (int)scrollBar.width; |
132 | int sbwidth = (int)scrollBar.width; |
133 | |
133 | |
134 | if ((scrollBar.init & R_SB_RXVT) == 0) |
134 | if ((scrollBar.init & R_SB_RXVT) == 0) |
135 | { |
135 | { |
136 | scrollBar.init |= R_SB_RXVT; |
136 | scrollBar.init |= R_SB_RXVT; |
|
|
137 | |
137 | if (sbshadow) |
138 | if (sbshadow) |
138 | { |
139 | { |
139 | XSetWindowBackground (display->display, scrollBar.win, pix_colors_focused[Color_trough]); |
140 | XSetWindowBackground (display->display, scrollBar.win, pix_colors_focused[Color_trough]); |
140 | XClearWindow (display->display, scrollBar.win); |
141 | XClearWindow (display->display, scrollBar.win); |
141 | } |
142 | } |
… | |
… | |
199 | |
200 | |
200 | return 1; |
201 | return 1; |
201 | } |
202 | } |
202 | #endif /* RXVT_SCROLLBAR */ |
203 | #endif /* RXVT_SCROLLBAR */ |
203 | /*----------------------- end-of-file (C source) -----------------------*/ |
204 | /*----------------------- end-of-file (C source) -----------------------*/ |
|
|
205 | |