I'm looking to build a feature in my app to give user feedback if they have set their window to always show on top of other apps using a shortcut or application menu item, but find that there is a lot of hacking needed to do so. It may be more efficient to have an event listener set on the window to determine if it enters or leaves `win.setAlwaysOnTop()`

i'm thinking it would be `win.on('enter-always-on-top')` and `win.on('leave-always-on-top')` 
atom/browser/native_window_views.cc
return opacity_;
}
void NativeWindowViews::SetIgnoreMouseEvents(bool ignore, bool forward) {
#if defined(OS_WIN)
  LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
  if (ignore)
    ex_style |= (WS_EX_TRANSPARENT | WS_EX_LAYERED);
  else
    ex_style &= ~(WS_EX_TRANSPARENT | WS_EX_LAYERED);
  if (layered_)
    ex_style |= WS_EX_LAYERED;
  ::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
  
  if (!ignore) {
    SetForwardMouseMessages(false);
  } else {
    SetForwardMouseMessages(forward);
  }
#elif defined(USE_X11)
  if (ignore) {
    XRectangle r = {0, 0, 1, 1};
    XShapeCombineRectangles(gfx::GetXDisplay(), GetAcceleratedWidget(),
                            ShapeInput, 0, 0, &r, 1, ShapeSet, YXBanded);
  } else {
    XShapeCombineMask(gfx::GetXDisplay(), GetAcceleratedWidget(), ShapeInput, 0,
                      0, x11::None, ShapeSet);
  }
#endif
}
void NativeWindowViews::SetContentProtection(bool enable) {