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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.291 by sf-exg, Sun Jan 23 12:28:47 2011 UTC vs.
Revision 1.292 by sf-exg, Thu Jan 27 17:37:19 2011 UTC

811 811
812 if (option (Opt_scrollBar)) 812 if (option (Opt_scrollBar))
813 scrollBar.resize (); /* create and map scrollbar */ 813 scrollBar.resize (); /* create and map scrollbar */
814#ifdef HAVE_BG_PIXMAP 814#ifdef HAVE_BG_PIXMAP
815 { 815 {
816 bgPixmap.set_target (this); 816 bg_init ();
817 817
818#ifdef ENABLE_TRANSPARENCY 818#ifdef ENABLE_TRANSPARENCY
819 if (option (Opt_transparent)) 819 if (option (Opt_transparent))
820 { 820 {
821 bgPixmap.set_transparent (); 821 bg_set_transparent ();
822 822
823 if (rs [Rs_blurradius]) 823 if (rs [Rs_blurradius])
824 bgPixmap.set_blur_radius (rs [Rs_blurradius]); 824 bg_set_blur (rs [Rs_blurradius]);
825 825
826 if (ISSET_PIXCOLOR (Color_tint)) 826 if (ISSET_PIXCOLOR (Color_tint))
827 bgPixmap.set_tint (pix_colors_focused [Color_tint]); 827 bg_set_tint (pix_colors_focused [Color_tint]);
828 828
829 if (rs [Rs_shade]) 829 if (rs [Rs_shade])
830 bgPixmap.set_shade (rs [Rs_shade]); 830 bg_set_shade (rs [Rs_shade]);
831 831
832 bgPixmap.set_root_pixmap (); 832 bg_set_root_pixmap ();
833 XSelectInput (dpy, display->root, PropertyChangeMask); 833 XSelectInput (dpy, display->root, PropertyChangeMask);
834 rootwin_ev.start (display, display->root); 834 rootwin_ev.start (display, display->root);
835 } 835 }
836#endif 836#endif
837 837
841 const char *p = rs[Rs_backgroundPixmap]; 841 const char *p = rs[Rs_backgroundPixmap];
842 842
843 if ((p = strchr (p, ';')) != 0) 843 if ((p = strchr (p, ';')) != 0)
844 { 844 {
845 p++; 845 p++;
846 bgPixmap.set_geometry (p); 846 bg_set_geometry (p);
847 } 847 }
848 else 848 else
849 bgPixmap.set_defaultGeometry (); 849 bg_set_default_geometry ();
850 850
851 if (bgPixmap.set_file (rs[Rs_backgroundPixmap])) 851 if (bg_set_file (rs[Rs_backgroundPixmap]))
852 if (!bgPixmap.window_position_sensitive ()) 852 if (!bg_window_position_sensitive ())
853 update_background (); 853 update_background ();
854 } 854 }
855#endif 855#endif
856 } 856 }
857#endif 857#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines