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

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.379 by sf-exg, Fri Apr 1 11:06:42 2011 UTC vs.
Revision 1.380 by sf-exg, Thu Apr 7 12:19:41 2011 UTC

1924 1924
1925# ifndef NO_MAPALERT 1925# ifndef NO_MAPALERT
1926# ifdef MAPALERT_OPTION 1926# ifdef MAPALERT_OPTION
1927 if (option (Opt_mapAlert)) 1927 if (option (Opt_mapAlert))
1928# endif 1928# endif
1929 XMapWindow (dpy, parent[0]); 1929 XMapWindow (dpy, parent);
1930# endif 1930# endif
1931 1931
1932# if ENABLE_FRILLS 1932# if ENABLE_FRILLS
1933 if (option (Opt_urgentOnBell)) 1933 if (option (Opt_urgentOnBell))
1934 set_urgency (1); 1934 set_urgency (1);
2520 if (bg_pixmap != None) 2520 if (bg_pixmap != None)
2521 { 2521 {
2522# ifdef ENABLE_TRANSPARENCY 2522# ifdef ENABLE_TRANSPARENCY
2523 if (bg_flags & BG_IS_TRANSPARENT) 2523 if (bg_flags & BG_IS_TRANSPARENT)
2524 { 2524 {
2525 XSetWindowBackgroundPixmap (dpy, parent[0], bg_pixmap); 2525 XSetWindowBackgroundPixmap (dpy, parent, bg_pixmap);
2526 XSetWindowBackgroundPixmap (dpy, vt, ParentRelative); 2526 XSetWindowBackgroundPixmap (dpy, vt, ParentRelative);
2527 2527
2528 transparent = true; 2528 transparent = true;
2529 } 2529 }
2530 else 2530 else
2531# endif 2531# endif
2532 { 2532 {
2533 XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); 2533 XSetWindowBackground (dpy, parent, pix_colors[Color_border]);
2534 XSetWindowBackgroundPixmap (dpy, vt, bg_pixmap); 2534 XSetWindowBackgroundPixmap (dpy, vt, bg_pixmap);
2535 } 2535 }
2536 } 2536 }
2537 else 2537 else
2538#endif 2538#endif
2539 { 2539 {
2540 XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); 2540 XSetWindowBackground (dpy, parent, pix_colors[Color_border]);
2541 XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); 2541 XSetWindowBackground (dpy, vt, pix_colors[Color_bg]);
2542 } 2542 }
2543 2543
2544 XClearWindow (dpy, parent[0]); 2544 XClearWindow (dpy, parent);
2545 2545
2546 if (scrollBar.win) 2546 if (scrollBar.win)
2547 { 2547 {
2548 if (transparent) 2548 if (transparent)
2549 XSetWindowBackgroundPixmap (dpy, scrollBar.win, ParentRelative); 2549 XSetWindowBackgroundPixmap (dpy, scrollBar.win, ParentRelative);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines