I'm not 100% why this works, but it seems to solve the issue of some things being left off the dock when it is started.
I noticed that changing the workspace would update the groups correctly and the only thing that the callback does is call setVisibleGroups which uses the same loop, but calls leaveGroup.
I'm not 100% why this works, but it seems to solve the issue of some things being left off the dock when it is started.
I noticed that changing the workspace would update the groups correctly and the only thing that the callback does is call setVisibleGroups which uses the same loop, but calls leaveGroup.