Desktop: incompatible change


#1

What’s the equivalent of this old code, with the new Desktop changes?

      bool const fullScreen = m_topLevelComponent->getBoundsInParent() ==
                              Desktop::getInstance().getMainMonitorArea (false);

??


#2

ComponentPeer::isFullScreen()? Is that what you are looking for?


#3

Or you could use Desktop::getInstance().getDisplays().getMainDisplay().userArea