StageFocused means that the app window has the focus.
- A positive cross means that the app window has gained the focus. - A negative cross means that the app window has lost the focus.
On Android, these correspond to onResume and onFreeze.
case StageVisible: return "StageVisible" case StageFocused: return "StageFocused" default:
// TODO: send lifecycle events when e.g. the X11 window is iconified or moved off-screen. theApp.sendLifecycle(lifecycle.StageFocused) // TODO: translate X11 expose events to shiny paint events, instead of