[Question] Z-order management in Wayland
yan.wang at linux.intel.com
yan.wang at linux.intel.com
Thu Jul 31 01:20:32 PDT 2014
Yes. I also think so. But we may need the comments of Wayland maintainer
about this design because it need change the compositor logic.
Yan Wang
> 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.
>
>
> On Thu, Jul 31, 2014 at 10:02 AM, <yan.wang at linux.intel.com> wrote:
>
>> 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
>> >
>>
>>
>
>
> --
> Jasper
> _______________________________________________
> 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