<div dir="ltr"><div>Hi Han,<br><br>Allowing yourselves to place multiple windows where you want it then isn't going to solve that problem, since users can still drag them around, minimize them, etc. Multiprocess rendering is a bit tricksy, and there's no standardized way to do it right now. The traditional technique is to build your own Wayland compositor inside your application, which is a bit heavyweight, and then use wl_subsurface to composite the results. This is what e.g. WebKit2's architecture does, and it's something I've tried to implement in the past [0]. As the scope of a Wayland compositor becomes larger and larger over time, I think this is starting to become a bit impractical. It might be worth looking into a multi-process buffer-sharing protocol as a Wayland extension, since it's a use case that keeps coming up.</div><div><br></div><div>[0] <a href="https://github.com/magcius/wakefield">https://github.com/magcius/wakefield</a><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei <span dir="ltr"><<a href="mailto:Guowei.Han@johnsonoutdoors.com" target="_blank">Guowei.Han@johnsonoutdoors.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div dir="auto">
<div>We are running a multi process application. And GUI is act as a transparent top layer. All other process rendering by them self underneath. So its important for other process to place the window at right potion.<br>
<br>
Sent from my iPhone</div><div><div class="gmail-h5">
<div><br>
On Jan 3, 2018, at 2:58 AM, Kai-Uwe <<a href="mailto:ku.b-list@gmx.de" target="_blank">ku.b-list@gmx.de</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p>Maybe you are after a full screen application then. With that you should be able to decide about the positioning on the whole output.<br>
</p>
<div class="gmail-m_-2333435057510124663moz-cite-prefix">Am 03.01.2018 um 02:37 schrieb Han, Guowei:<br>
</div>
<blockquote type="cite">
<div>Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am creating a bigger surface bigger than screen size. and make subsurface so i can posion them as i want. Really don't think its a good way to do it.<br>
<br>
Sent from my iPhone</div>
<div><br>
On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre <<a href="mailto:jstpierre@mecheye.net" target="_blank">jstpierre@mecheye.net</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>*EXTERNAL EMAIL* <br>
<br>
<div>
<div dir="ltr">Hi Han,
<div><br>
</div>
<div>You cannot position surfaces absolutely using the traditional xdg-shell protocol. However, for embedded cases, there are protocols like ivi-shell which provide that functionality.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei <span dir="ltr">
<<a href="mailto:Guowei.Han@johnsonoutdoors.com" target="_blank">Guowei.Han@johnsonoutdoors.<wbr>com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-2333435057510124663m_7416762455441134484WordSection1">
<p class="gmail-MsoNormal">Hi,</p>
<p class="gmail-MsoNormal"> </p>
<p class="gmail-MsoNormal">Wonder if there’s a way we can position window to anywhere we want using wayland or maybe weston?</p>
<p class="gmail-MsoNormal"> </p>
<p class="gmail-MsoNormal">Thanks,</p>
<p class="gmail-MsoNormal"> </p>
</div>
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention
 or use of the contents of this information is prohibited. If you have received this email in error, please immediately contact the sender and delete the email.
</div>
<br>
______________________________<wbr>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail-m_-2333435057510124663gmail_signature">  Jasper<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<fieldset class="gmail-m_-2333435057510124663mimeAttachmentHeader"></fieldset> <br>
<pre>______________________________<wbr>_________________
wayland-devel mailing list
<a class="gmail-m_-2333435057510124663moz-txt-link-abbreviated" href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.<wbr>freedesktop.org</a>
<a class="gmail-m_-2333435057510124663moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div></div></div>

<br>______________________________<wbr>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">  Jasper<br></div>
</div></div></div></div>