… | |
… | |
805 | XSynchronize (dpy, True); |
805 | XSynchronize (dpy, True); |
806 | #endif |
806 | #endif |
807 | |
807 | |
808 | if (option (Opt_scrollBar)) |
808 | if (option (Opt_scrollBar)) |
809 | scrollBar.resize (); /* create and map scrollbar */ |
809 | scrollBar.resize (); /* create and map scrollbar */ |
|
|
810 | |
810 | #ifdef HAVE_BG_PIXMAP |
811 | #ifdef HAVE_BG_PIXMAP |
811 | { |
|
|
812 | bg_init (); |
812 | bg_init (); |
813 | |
|
|
814 | #if ENABLE_TRANSPARENCY |
|
|
815 | if (option (Opt_transparent)) |
|
|
816 | { |
|
|
817 | bg_set_transparent (); |
|
|
818 | |
|
|
819 | if (rs [Rs_blurradius]) |
|
|
820 | root_effects.set_blur (rs [Rs_blurradius]); |
|
|
821 | |
|
|
822 | if (ISSET_PIXCOLOR (Color_tint)) |
|
|
823 | root_effects.set_tint (pix_colors_focused [Color_tint]); |
|
|
824 | |
|
|
825 | if (rs [Rs_shade]) |
|
|
826 | root_effects.set_shade (rs [Rs_shade]); |
|
|
827 | |
|
|
828 | bg_set_root_pixmap (); |
|
|
829 | XSelectInput (dpy, display->root, PropertyChangeMask); |
|
|
830 | rootwin_ev.start (display, display->root); |
|
|
831 | } |
|
|
832 | #endif |
|
|
833 | } |
|
|
834 | #endif |
813 | #endif |
835 | |
814 | |
836 | #if ENABLE_PERL |
815 | #if ENABLE_PERL |
837 | rootwin_ev.start (display, display->root); |
816 | rootwin_ev.start (display, display->root); |
838 | #endif |
817 | #endif |