ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.111 by sf-exg, Fri Nov 5 17:27:58 2010 UTC vs.
Revision 1.112 by sf-exg, Sat Nov 6 17:16:15 2010 UTC

1413 1413
1414 root_pixmap = new_root_pixmap; 1414 root_pixmap = new_root_pixmap;
1415} 1415}
1416# endif /* ENABLE_TRANSPARENCY */ 1416# endif /* ENABLE_TRANSPARENCY */
1417 1417
1418# ifndef HAVE_AFTERIMAGE 1418#if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE)
1419static void ShadeXImage(Visual *visual, XImage *srcImage, int shade, int rm, int gm, int bm); 1419static void ShadeXImage(Visual *visual, XImage *srcImage, int shade, int rm, int gm, int bm);
1420# endif 1420# endif
1421 1421
1422bool 1422bool
1423bgPixmap_t::render () 1423bgPixmap_t::render ()
1447 if (render_image (background_flags)) 1447 if (render_image (background_flags))
1448 flags = flags & ~isInvalid; 1448 flags = flags & ~isInvalid;
1449 } 1449 }
1450# endif 1450# endif
1451 1451
1452# if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE) && !XRENDER 1452# if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE)
1453 XImage *result = NULL; 1453 XImage *result = NULL;
1454 1454
1455 if (background_flags && (flags & isInvalid)) 1455 if (background_flags && (flags & isInvalid))
1456 { 1456 {
1457 result = XGetImage (target->dpy, pixmap, 0, 0, pmap_width, pmap_height, AllPlanes, ZPixmap); 1457 result = XGetImage (target->dpy, pixmap, 0, 0, pmap_width, pmap_height, AllPlanes, ZPixmap);
1574 flags |= hasChanged; 1574 flags |= hasChanged;
1575} 1575}
1576 1576
1577#endif /* HAVE_BG_PIXMAP */ 1577#endif /* HAVE_BG_PIXMAP */
1578 1578
1579#if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE) && !XRENDER 1579#if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE)
1580/* taken from aterm-0.4.2 */ 1580/* taken from aterm-0.4.2 */
1581 1581
1582static void 1582static void
1583ShadeXImage(Visual *visual, XImage *srcImage, int shade, int rm, int gm, int bm) 1583ShadeXImage(Visual *visual, XImage *srcImage, int shade, int rm, int gm, int bm)
1584{ 1584{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines