As in topic. API currently offers fixed ratio only for Mac but not for Windows
shell/browser/native_window_views.cc
widget()->widget_delegate()->SetCanActivate(focusable);
#if defined(OS_WIN)
  LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
  if (focusable)
    ex_style &= ~WS_EX_NOACTIVATE;
  else
    ex_style |= WS_EX_NOACTIVATE;
  ::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
  SetSkipTaskbar(!focusable);
  Focus(false);
#endif
}
void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) {
#if defined(USE_X11)
  if (!features::IsUsingOzonePlatform()) {
    
    if (global_menu_bar_ && menu_model == nullptr) {
      global_menu_bar_.reset();
      root_view_->UnregisterAcceleratorsWithFocusManager();
      return;
    }
    
    if (ShouldUseGlobalMenuBar()) {
      if (!global_menu_bar_)
        global_menu_bar_ = std::make_unique<GlobalMenuBarX11>(this);
      if (global_menu_bar_->IsServerStarted()) {
        root_view_->RegisterAcceleratorsWithFocusManager(menu_model);
        global_menu_bar_->SetMenu(menu_model);
        return;