nit: You had better not calling WindowManager here but sends an event for it to dispatch to active window.