title: GWT Window onBlur
body: <p>how can a GWT app determine if the browser window or tab loses focus i.e. gets inactive? I need this to switch a canvas based application into pause state, but only when the whole browser gets inactive. How can this be done? Any ideas are welcome. Thanks in advance.</p>