bug 1044125 - Only capture screenshot and show overlay when edge gesture...

...s are in use or task manager is used. r=alive
That seems to work, however, I do see what you mean and it seems like it
may be safer to add the event listener on the window itself instead of the
element. Any objections?

On Tue, Sep 9, 2014 at 7:58 PM, Alive.Kuo <notifications@github.com> wrote:

> In apps/system/js/app_window.js:
>
> > @@ -691,7 +680,8 @@
> >       'mozbrowsertitlechange', 'mozbrowserlocationchange',
> >       'mozbrowsermetachange', 'mozbrowsericonchange', 'mozbrowserasyncscroll',
> >       '_localized', '_swipein', '_swipeout', '_kill_suspended',
> > -     '_orientationchange', '_focus', '_hidewindow'];
> > +     '_orientationchange', '_focus', '_hidewindow', 'sheetstransitionstart',
> > +     'sheetstransitionend'];
>
> I don't think this work? sheetstransitionend/sheetstransitionstart is
> dispatched on window but the event listener is on this.element.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla-b2g/gaia/pull/23874/files#r17340615>.
>