… | |
… | |
1024 | gc = XCreateGC (dpy, rootpixmap, GCFillStyle | GCTile | GCTileStipXOrigin | GCTileStipYOrigin, &gcvalue); |
1024 | gc = XCreateGC (dpy, rootpixmap, GCFillStyle | GCTile | GCTileStipXOrigin | GCTileStipYOrigin, &gcvalue); |
1025 | XFillRectangle (dpy, pixmap, gc, 0, 0, szHint.width, szHint.height); |
1025 | XFillRectangle (dpy, pixmap, gc, 0, 0, szHint.width, szHint.height); |
1026 | #if TINTING |
1026 | #if TINTING |
1027 | if (whole_tint) |
1027 | if (whole_tint) |
1028 | { |
1028 | { |
1029 | /* In this case we can tint image server-side geting significant |
1029 | /* In this case we can tint image server-side getting significant |
1030 | * performance improvements, as we eliminate XImage transfer |
1030 | * performance improvements, as we eliminate XImage transfer |
1031 | */ |
1031 | */ |
1032 | gcvalue.foreground = Pixel (pix_colors_focused [Color_tint]); |
1032 | gcvalue.foreground = Pixel (pix_colors_focused [Color_tint]); |
1033 | gcvalue.function = GXand; |
1033 | gcvalue.function = GXand; |
1034 | gcvalue.fill_style = FillSolid; |
1034 | gcvalue.fill_style = FillSolid; |