<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: KWin, Plasma on Wayland, hein.<br />Restricted Application added subscribers: kwin, plasma-devel.<br />Restricted Application added projects: Plasma on Wayland, KWin.
</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/D3327" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The VirtualDesktopGrid is ported to the new VirtualDesktop objects. The<br />
grid consists now of QVector<VirtualDesktop*> rows and a QVector of<br />
those rows.</p>
<p>This change requires to adjust the code using the VirtualDesktopGrid.<br />
This mostly affects VirtualDesktopManger. The methods for toLeft, above,<br />
next, etc are now all operating on VirtualDesktop with the uint variants</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">if still present - only delegating to the new method. The Functor</li>
</ul>
<p>objects are also adjusted, though mostly still providing the old API for<br />
compatibility.</p>
<p>In KWin core only one now ambiguous call is adjusted (useractions) and<br />
the desktop grid usage in EffectsHandlerImpl is adjusted. Other usages<br />
are not yet adjusted and need porting to fully get rid of the old<br />
uint-based API.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>VD test still passes</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>vd-grid</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3327" rel="noreferrer">https://phabricator.kde.org/D3327</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/test_virtual_desktops.cpp<br />
effects.cpp<br />
useractions.cpp<br />
virtualdesktops.cpp<br />
virtualdesktops.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>graesslin, KWin, Plasma on Wayland, hein<br /><strong>Cc: </strong>plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas<br /></div>