move lcl_createWindowInfo to correct spot in window.cxx

Change-Id: Icfcfe379db2ba8eee89314108df47bae024e060e