Man finds place to rest on windowsill