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.96 by sf-exg, Fri Oct 22 16:49:26 2010 UTC vs.
Revision 1.97 by sf-exg, Fri Oct 22 18:03:10 2010 UTC

1538void 1538void
1539bgPixmap_t::apply () 1539bgPixmap_t::apply ()
1540{ 1540{
1541 if (target) 1541 if (target)
1542 { 1542 {
1543 flags &= ~isVtOrigin;
1544
1545 if (pixmap != None) 1543 if (pixmap != None)
1546 { 1544 {
1547 /* set target's background to pixmap */ 1545 /* set target's background to pixmap */
1548# ifdef ENABLE_TRANSPARENCY 1546# ifdef ENABLE_TRANSPARENCY
1549 if (flags & isTransparent) 1547 if (flags & isTransparent)
1555 XSetWindowBackgroundPixmap (target->dpy, target->scrollBar.win, ParentRelative); 1553 XSetWindowBackgroundPixmap (target->dpy, target->scrollBar.win, ParentRelative);
1556 } 1554 }
1557 else 1555 else
1558# endif 1556# endif
1559 { 1557 {
1560 flags |= isVtOrigin;
1561 /* force old pixmap dereference in case it was transparent before :*/ 1558 /* force old pixmap dereference in case it was transparent before :*/
1562 XSetWindowBackground (target->dpy, target->parent[0], target->pix_colors[Color_border]); 1559 XSetWindowBackground (target->dpy, target->parent[0], target->pix_colors[Color_border]);
1563 XSetWindowBackgroundPixmap (target->dpy, target->vt, pixmap); 1560 XSetWindowBackgroundPixmap (target->dpy, target->vt, pixmap);
1564 /* do we also need to set scrollbar's background here ? */ 1561 /* do we also need to set scrollbar's background here ? */
1565 1562

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines