… | |
… | |
1284 | |
1284 | |
1285 | return ret; |
1285 | return ret; |
1286 | } |
1286 | } |
1287 | |
1287 | |
1288 | /* make_transparency_pixmap() |
1288 | /* make_transparency_pixmap() |
1289 | * Builds a pixmap sized the same as terminal window, with depth same as the root window |
1289 | * Builds a pixmap of the same size as the terminal window that contains |
1290 | * that pixmap contains tiled portion of the root pixmap that is supposed to be covered by |
1290 | * the tiled portion of the root pixmap that is supposed to be covered by |
1291 | * our window. |
1291 | * our window. |
1292 | */ |
1292 | */ |
1293 | unsigned long |
1293 | unsigned long |
1294 | bgPixmap_t::make_transparency_pixmap () |
1294 | bgPixmap_t::make_transparency_pixmap () |
1295 | { |
1295 | { |
… | |
… | |
1444 | |
1444 | |
1445 | if (result) |
1445 | if (result) |
1446 | { |
1446 | { |
1447 | # if !defined(HAVE_AFTERIMAGE) && !XFT |
1447 | # if !defined(HAVE_AFTERIMAGE) && !XFT |
1448 | /* our own client-side tinting */ |
1448 | /* our own client-side tinting */ |
1449 | /* ATTENTION: We ASSUME that XFT will let us do all the tinting necessary server-side. |
|
|
1450 | This may need to be changed in need_client_side_rendering() logic is altered !!! */ |
|
|
1451 | if (!(background_flags & transpPmapTinted) && (flags & tintNeeded)) |
1449 | if (!(background_flags & transpPmapTinted) && (flags & tintNeeded)) |
1452 | { |
1450 | { |
1453 | rgba c (rgba::MAX_CC,rgba::MAX_CC,rgba::MAX_CC); |
1451 | rgba c (rgba::MAX_CC,rgba::MAX_CC,rgba::MAX_CC); |
1454 | if (flags & tintSet) |
1452 | if (flags & tintSet) |
1455 | tint.get (c); |
1453 | tint.get (c); |