linux: Remove dead code on accessing window tree host.