… | |
… | |
117 | scrollbar_TotalWidth (), |
117 | scrollbar_TotalWidth (), |
118 | szHint.height, |
118 | szHint.height, |
119 | 0, |
119 | 0, |
120 | pix_colors[Color_fg], |
120 | pix_colors[Color_fg], |
121 | pix_colors[Color_border]); |
121 | pix_colors[Color_border]); |
122 | #ifdef DEBUG_X |
|
|
123 | XStoreName (display->display, scrollBar.win, "scrollbar"); |
|
|
124 | #endif |
|
|
125 | XDefineCursor (display->display, scrollBar.win, leftptr_cursor); |
122 | XDefineCursor (display->display, scrollBar.win, leftptr_cursor); |
126 | |
123 | |
127 | XSelectInput (display->display, scrollBar.win, |
124 | XSelectInput (display->display, scrollBar.win, |
128 | ExposureMask | ButtonPressMask | ButtonReleaseMask |
125 | ExposureMask | ButtonPressMask | ButtonReleaseMask |
129 | | Button1MotionMask | Button2MotionMask |
126 | | Button1MotionMask | Button2MotionMask |