I applied your new set of patches and things seem to work reasonably. There is just one minor annoying glitch. See the attached two screenshots.
I've made a icon which has the same color as the background color of the workspace, so when my dockapps are not running they are almost invisible (see initial_state.png). At some point in the past you wrote a patch which spoiled my setup, because you made the borders visible. I didn't complain back then, since the change was not technically wrong and it made sense. Good. But after your latest series the behavior is inconsistent. Right after starting wmaker the dockapps which are not running have the old "invisible" aspect where they blend with the background (see initial_state.png). But if I start the dockapp and then kill it, the new icon is the one with the border and with somewhat different aspect. See after.png, where the icon below is the one which went through the "start+kill" process. It would be nice to have my old "invisible" icons back. What do you think about this? Now that I got them back for a few moments I really missed their old aspect :-)
<<attachment: initial_state.png>>
<<attachment: after.png>>
