It shouldn't matter if the dockapp has appeared before Ion starts managing windows. After it has started selecting on map request events, it scans the root window for already mapped client windows. After Ion has initialised, all the modules specified in the configuration files loaded, it starts managing these windows as if they were just mapped and so the dock add_clientwin_alt hook handler gets to handle those windows... unless we have a restart situation and the window has already been assigned somewhere else.
Doh! Of course.
Thanks,
Tom
