<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Thank you for the feedback, that was very helpful.</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, May 11, 2016 at 9:07 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
You should explain the use case behind the idea. Then it would be<br>
possible to assess whether such protocol would even be appropriate for<br>
it.<br></blockquote><div><br></div><div>My use case is third-party window switcher applications, such as xfdashboard or my program, xfce4-lightdash-plugin: <a href="https://github.com/adlocode/xfce4-lightdash-plugin">https://github.com/adlocode/xfce4-lightdash-plugin</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If some sort of protocol would be needed, then you have to figure out<br>
how to not make it a gaping security breach<br></blockquote><div><br></div><div>Perhaps the security could be improved by having a permissions system where only authorised programs are allowed to use this protocol? Maybe the compositor could expose a settings framework that allows the user to control the permissions of applications.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A little more tractable plan would be to communicate only surface<br>
meta-data to the client, which could then ask the compositor to draw<br>
the thumbnails relative to one of the client's surfaces. The client<br>
would never have access to window content itself.</blockquote><div><br></div><div>That's a good point; this could be a good solution, as long as it is toolkit-independent and supports all rendering methods: OpenGL, pixman 2D software rendering, etc.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> However, then there's</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the question of whether it can be a standard protocol or not.</blockquote><div><br></div><div>It is important that it is a standard, cross-compositor protocol. For example, if I am using my app on "xfwm-wayland" and then I decide that I want to switch to KWin, my app should continue to work.</div><div><br></div><div>Regards</div><div><br></div><div>adlo </div></div><br></div></div>