[Question] Z-order management in Wayland

Tanibata, Nobuhiko (ADITJ/SWG) ntanibata at jp.adit-jv.com
Thu Jul 31 01:19:27 PDT 2014


Yan, 

No way to change order of top-level surfaces in current Wayland
protocol.
If you want to do it, you can extend protocol by yourself and implement
own shell loaded on Weston.

One example is http://projects.genivi.org/wayland-ivi-extension/.
There is a similar use case in In-vehicle Infotainment system regarding
consumption of power.

> -----Original Message-----
> From: wayland-devel
> [mailto:wayland-devel-bounces at lists.freedesktop.org] On Behalf Of
> yan.wang at linux.intel.com
> Sent: Thursday, July 31, 2014 5:03 PM
> To: Jasper St. Pierre
> Cc: yan.wang at linux.intel.com; wayland-devel at lists.freedesktop.org
> Subject: Re: [Question] Z-order management in Wayland
> 
> E.g. When we start a new application on mobile platform, previous
running
> application could be hidden and paused to reduce power consuming and
> improve response speed. If we could adjust and get z-order status, we
> could callback application to sleep. And when user restart this
> application, we could just make this slept app waked up.
> 
> Yan Wang
> 
> > There is currently no way to influence the stacking order of
top-level
> > surfaces. Why do you need this?
> > On Jul 31, 2014 9:28 AM, <yan.wang at linux.intel.com> wrote:
> >
> >> Hi, All,
> >>    I found X provides raise/lower APIs to manger window Z-order.
But
> >> there isn't related APIs in Wayland/Weston.
> >>    May it should be one design idea of Wayland in fact or I could
> >> achieve this  by current Wayland protocol?
> >>    Thanks.
> >>
> >> Yan Wang
> >> _______________________________________________
> >> wayland-devel mailing list
> >> wayland-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >>
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list