… | |
… | |
76 | #include <netinet/in.h> |
76 | #include <netinet/in.h> |
77 | #include <arpa/inet.h> |
77 | #include <arpa/inet.h> |
78 | #include <net/if.h> |
78 | #include <net/if.h> |
79 | #include <net/if_arp.h> |
79 | #include <net/if_arp.h> |
80 | |
80 | |
81 | static char * |
81 | static char * ecb_cold |
82 | rxvt_network_display (const char *display) |
82 | rxvt_network_display (const char *display) |
83 | { |
83 | { |
84 | char buffer[1024], *rval = NULL; |
84 | char buffer[1024], *rval = NULL; |
85 | struct ifconf ifc; |
85 | struct ifconf ifc; |
86 | struct ifreq *ifr; |
86 | struct ifreq *ifr; |
… | |
… | |
818 | if (option (Opt_transparent)) |
818 | if (option (Opt_transparent)) |
819 | { |
819 | { |
820 | bg_set_transparent (); |
820 | bg_set_transparent (); |
821 | |
821 | |
822 | if (rs [Rs_blurradius]) |
822 | if (rs [Rs_blurradius]) |
823 | bg_set_blur (rs [Rs_blurradius]); |
823 | root_effects.set_blur (rs [Rs_blurradius]); |
824 | |
824 | |
825 | if (ISSET_PIXCOLOR (Color_tint)) |
825 | if (ISSET_PIXCOLOR (Color_tint)) |
826 | bg_set_tint (pix_colors_focused [Color_tint]); |
826 | root_effects.set_tint (pix_colors_focused [Color_tint]); |
827 | |
827 | |
828 | if (rs [Rs_shade]) |
828 | if (rs [Rs_shade]) |
829 | bg_set_shade (rs [Rs_shade]); |
829 | root_effects.set_shade (rs [Rs_shade]); |
830 | |
830 | |
831 | bg_set_root_pixmap (); |
831 | bg_set_root_pixmap (); |
832 | XSelectInput (dpy, display->root, PropertyChangeMask); |
832 | XSelectInput (dpy, display->root, PropertyChangeMask); |
833 | rootwin_ev.start (display, display->root); |
833 | rootwin_ev.start (display, display->root); |
834 | } |
834 | } |