D16768: mage global menu screen aware

David Edmundson noreply at phabricator.kde.org
Sat Nov 10 16:09:32 GMT 2018


davidedmundson added inline comments.

INLINE COMMENTS

> mvourlakos wrote in appmenumodel.cpp:263
> you mean?
> 
>   setMenuHidden(info.isMinimized() || m_screenGeometry.isNull() || !m_screenGeometry.contains(info.geometry().center()));

I mean

const bool contained = m_screenGeometry.isNull() || m_screenGeometry.contains(info.geometry().center())

setMenuHidden(info.isMinimized() || !contained)

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D16768

To: mvourlakos, #plasma, broulik, davidedmundson
Cc: davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181110/89213ca5/attachment-0001.html>


More information about the Plasma-devel mailing list