auto expose into window