… | |
… | |
827 | #endif |
827 | #endif |
828 | |
828 | |
829 | #ifdef BG_IMAGE_FROM_FILE |
829 | #ifdef BG_IMAGE_FROM_FILE |
830 | if (rs[Rs_backgroundPixmap]) |
830 | if (rs[Rs_backgroundPixmap]) |
831 | { |
831 | { |
832 | const char *p = rs[Rs_backgroundPixmap]; |
|
|
833 | |
|
|
834 | if ((p = strchr (p, ';')) != 0) |
|
|
835 | { |
|
|
836 | p++; |
|
|
837 | bg_set_geometry (p); |
|
|
838 | } |
|
|
839 | else |
|
|
840 | bg_set_default_geometry (); |
|
|
841 | |
|
|
842 | if (bg_set_file (rs[Rs_backgroundPixmap])) |
832 | if (bg_set_file (rs[Rs_backgroundPixmap])) |
843 | if (!bg_window_position_sensitive ()) |
833 | if (!bg_window_position_sensitive ()) |
844 | update_background (); |
834 | update_background (); |
845 | } |
835 | } |
846 | #endif |
836 | #endif |