<div dir="ltr">Sure. You can do this from your compositor. Weston has internal APIs known as "layers", and these control stacking order. To pause the previous application, you can stop calling the callback used from "frame". This might require some extra work in compositor.c to not send the callbacks if they're in a special "paused" layer, but it can be done.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 10:02 AM, <span dir="ltr"><<a href="mailto:yan.wang@linux.intel.com" target="_blank">yan.wang@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">E.g. When we start a new application on mobile platform, previous running<br>
application could be hidden and paused to reduce power consuming<br>
and improve response speed. If we could adjust and get z-order status, we<br>
could callback application to sleep. And when user restart this<br>
application, we could just make this slept app waked up.<br>
<br>
Yan Wang<br>
<div class="HOEnZb"><div class="h5"><br>
> There is currently no way to influence the stacking order of top-level<br>
> surfaces. Why do you need this?<br>
> On Jul 31, 2014 9:28 AM, <<a href="mailto:yan.wang@linux.intel.com">yan.wang@linux.intel.com</a>> wrote:<br>
><br>
>> Hi, All,<br>
>> I found X provides raise/lower APIs to manger window Z-order. But<br>
>> there<br>
>> isn't related APIs in Wayland/Weston.<br>
>> May it should be one design idea of Wayland in fact or I could<br>
>> achieve<br>
>> this by current Wayland protocol?<br>
>> Thanks.<br>
>><br>
>> Yan Wang<br>
>> _______________________________________________<br>
>> wayland-devel mailing list<br>
>> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
>><br>
> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>