The part of code that maintains the position of each surface
Jonas Ådahl
jadahl at gmail.com
Fri Sep 19 11:32:22 PDT 2014
On Fri, Sep 19, 2014 at 02:24:50PM -0400, Hongze Zhao wrote:
> Hi All,
>
> I am using weston-1.5.X and I am curious about the which part of code that
> maintains the position of each surface.
>
> When multiple clients connects to the weston server and initializes its
> surface, the surfaces are not showed in the exactly same position
> initially, which means someone is maintaining the position of the
> each surfaces to avoid the newly created surfaces from being showed in the
> same position. I am wondering if anyone could give me some hint where I can
> look for the code doing this job.
Its actually just randomly placed. See
http://cgit.freedesktop.org/wayland/weston/tree/desktop-shell/shell.c#n5228
Jonas
>
> Thanks,
> Hongze
> _______________________________________________
> 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