Kanedias added a comment.
In https://phabricator.kde.org/D1230#114175, @davidedmundson wrote: > There is one issue we need to work out how to fix - with this system if you're running VNC you won't see the client's mouse. Nice catch, I didn't notice that until you pointed that out! > - We make kwin render the background + cursor into a new texture Sounds pretty heavy, we'd need to copy frame on each page flip... > - We provide the mouse buffer to the RemoteAccess buffer just like we pass the outputs. We would need to pass some sort of offset in org_kde_kwin_remote_buffer Offset - you mean, mouse offset, so acceptor knows where to render it? > - dynamically switch usesSoftwareCursor() in the backend when recording. Can it break something? As I see DrmBackend never used softwareCursor before... Okay, which option is more preferable here? I tend to think it's №2. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D1230 To: Kanedias, graesslin, davidedmundson Cc: kwin, #kwin, davidedmundson, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas