Bug 989713 - Remove redundant hidewindow event handler from window manager.
Merge pull request #17889 from janus926/bug-989713

Bug 989713 - Remove redundant hidewindow event handler from window manager, r=timdream