<table><tr><td style="">broulik created this revision.<br />broulik added a reviewer: Plasma.<br />broulik set the repository for this revision to rKWIN KWin.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3089" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>TEST PLAN</strong><div><p>Together with the other three patches gives you an application menu button in the title bar.</p>

<p>What doesn't work is pressing Alt in an app and have the global menu open. There basically the app tells kwin to show the menu which then tells the decoration which gets the offset from the button and passes that back to kwin which then opens the menu ……… I suppose?</p>

<p><a href="https://phabricator.kde.org/F367907" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F367907: Screenshot_20161017_124159.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3089" rel="noreferrer">https://phabricator.kde.org/D3089</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
abstract_client.cpp<br />
abstract_client.h<br />
appmenu.cpp<br />
appmenu.h<br />
config-kwin.h.cmake<br />
decorations/decoratedclient.cpp<br />
decorations/decoratedclient.h<br />
kcmkwin/kwindecoration/declarative-plugin/previewclient.cpp<br />
kcmkwin/kwindecoration/declarative-plugin/previewclient.h<br />
useractions.cpp<br />
workspace.cpp<br />
workspace.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas<br /></div>