<table><tr><td style="">mart 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>Looking to wire it into KWin:<br />
so, the first thing i note is that abstractclient has already integration api with virtualdesktops with the old assumptions of numerical id and window on either one or all desktops, which is what Client is using on X11.</p>

<p>A virtualdesktopmanager is always created, both in wayland and x11 (in wayland atm to manage xwayland i guess, tough there seems to be partial support for the old virtualdesktop paradigm, both in Shellclient and in the plasmawindow protocol)</p>

<p>What i want to try to do now, is to add usage of the virtual desktop protocol directly in VirtualDesktopManager of virtualdesktops.cpp (all code that would be disable when a waylandserver is not found)</p>

<p>that would be the easiest place to wire up the protocol's virtualdesktopmanagement</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>