<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->
My electron version is 6.1.11, and I can't update because visibleOnFullScreen option on setVisibleOnAllWorkspaces is deprecated. It works fine on mac 10.15.4 and newer version.
To code like this:

  app.dock.hide()
  window.setAlwaysOnTop(true, 'floating')
  window.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true })

The visibleOnFullScreen option is very important to my electron app and I'm so appreciate if you can check this feature again!

shell/browser/native_window_views.cc
SetForwardMouseMessages(forward);
  }
#elif defined(USE_X11)
  auto* connection = x11::Connection::Get();
  if (ignore) {
    x11::Rectangle r{0, 0, 1, 1};
    connection->shape().Rectangles({
        .operation = x11::Shape::So::Set,
        .destination_kind = x11::Shape::Sk::Input,
        .ordering = x11::ClipOrdering::YXBanded,
        .destination_window = static_cast<x11::Window>(GetAcceleratedWidget()),
        .rectangles = {r},
    });
  } else {
    connection->shape().Mask({
        .operation = x11::Shape::So::Set,
        .destination_kind = x11::Shape::Sk::Input,
        .destination_window = static_cast<x11::Window>(GetAcceleratedWidget()),
        .source_bitmap = x11::Pixmap::None,
    });
  }
#endif
}
void NativeWindowViews::SetContentProtection(bool enable) {
#if defined(OS_WIN)
  DWORD affinity = enable ? WDA_MONITOR : WDA_NONE;
  ::SetWindowDisplayAffinity(GetAcceleratedWidget(), affinity);
#endif
}
void NativeWindowViews::SetFocusable(bool focusable) {