<table><tr><td style="">davidedmundson added a comment.
</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/D12820">View Revision</a></tr></table><br /><div><div><p>Don't feel the need to change the code unless you and whoever else agree.<br />
I'm not forcing anything, just commenting on my preference.</p>

<p>But yeah, that would be my proposal.</p>

<p>It'd mean reverting work here, but porting the existing plasma pager/effects would go back to being a lot easier.<br />
I don't even know how I'd go about porting it with this.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Would there be some protocol to reorder desktops or would be just a detail internal in kwin?</p></blockquote>

<p>I think you'd need to communicate the same order with all clients. <br />
That could be just replacing virtual_desktop_added/virtual_desktop_removed/done  with set_virtual_desktops(wl_array<string>);    or something else.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>whith this, would still be possible to allow maybe in the future desktops per-output whicj Martin was talking about?</p></blockquote>

<p>WRT positioning, probably. You'd need new API, but you wouldn't have redundant API.<br />
WRT which one is active, this code wouldn't cover that as-is.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12820">https://phabricator.kde.org/D12820</a></div></div><br /><div><strong>To: </strong>mart, KWin, Plasma, graesslin, hein<br /><strong>Cc: </strong>davidedmundson, zzag, bshah, romangg, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>