Fix non-daemon operation with the new wnck code