Resolve path
Some fixes for movable
Clients can have more than one window type. They're ordered by
preference. Check first one first.