A German short-haired pointer rests on a rug by a sunny window .