… | |
… | |
2629 | am_transparent = 0; |
2629 | am_transparent = 0; |
2630 | /* XXX: also turn off Opt_transparent? */ |
2630 | /* XXX: also turn off Opt_transparent? */ |
2631 | } |
2631 | } |
2632 | else |
2632 | else |
2633 | { |
2633 | { |
2634 | #if WAIT_FOR_WM |
|
|
2635 | /* wait (an arbitrary period) for the WM to do its thing |
|
|
2636 | * needed for fvwm2.2.2 (and before?) */ |
|
|
2637 | sleep (1); |
|
|
2638 | #endif |
|
|
2639 | for (n = 0; n < (unsigned int)i; n++) |
2634 | for (n = 0; n < (unsigned int)i; n++) |
2640 | { |
2635 | { |
2641 | XSetWindowBackgroundPixmap (disp, parent[n], ParentRelative); |
2636 | XSetWindowBackgroundPixmap (disp, parent[n], ParentRelative); |
2642 | XClearWindow (disp, parent[n]); |
2637 | XClearWindow (disp, parent[n]); |
2643 | } |
2638 | } |