Seats support

Jason Ekstrand jason at jlekstrand.net
Thu Apr 18 17:36:55 PDT 2013


Singh,
On Thu, Apr 18, 2013 at 12:35 PM, Singh, Satyeshwar <
satyeshwar.singh at intel.com> wrote:

> Hi Jason,
>
> > As of right now, weston doesn't have a way (as far as I know) to split
> > your devices into multiple seats.  Then again, I don't really see why
> > you would want to unless you plan to have two people working on the
> > same computer simultaneously (I guess that's a possibility).
>
> In a car, where the real estate is limited, there is only one monitor but
> dual view (so that the driver sees one content and the front seat passenger
> sees another). They both have their own trackpads and this requires two
> input devices to be routed to two different Wayland outputs (each view is a
> wl_output) and can simultaneously control their own view.
>

If this is the case (two different output, two different seats), then why
not have two different compositors?  Perhaps you need some syncing between
them?  Is there something else I'm missing here?

I don't know for sure, but It should be possible (perhaps with a little
modification) to have two simultaneous weston sessions running.  I don't
think that's supported yet, but it may not take much.

--Jason


>
> -Satyeshwar
>
> -----Original Message-----
> From: wayland-devel-bounces+satyeshwar.singh=
> intel.com at lists.freedesktop.org [mailto:
> wayland-devel-bounces+satyeshwar.singh=intel.com at lists.freedesktop.org]
> On Behalf Of Jason Ekstrand
> Sent: Wednesday, April 17, 2013 1:49 PM
> To: Andrew Voron
> Cc: wayland-devel at lists.freedesktop.org
> Subject: Re: Seats support
>
> Andrew,
> The seat concept is meant for each seat to correspond to one human
> interface to the desktop.  For example, say you have a fancy laptop
> with a touchscreen as well as both a trackpad and a nub.  And let's
> say that we further complicate the situation by plugging in an
> external keyboard/mouse.  All of those devices would be one one seat.
> The wl_pointer would be an agrigate from all three pointing devices
> and the wl_keyboard would get key events from both keyboards.  the
> wl_touch would just be the one touch screen in this case.
>
> As of right now, weston doesn't have a way (as far as I know) to split
> your devices into multiple seats.  Then again, I don't really see why
> you would want to unless you plan to have two people working on the
> same computer simultaneously (I guess that's a possibility).
>
> The only back-end that currently provides multiple seats is
> Hardening's RDP back-end that provides one seat for each connected RDP
> client.
>
> I hope that helps,
> --Jason Ekstrand
>
> On Wed, Apr 17, 2013 at 3:26 AM, Andrew Voron <voland62 at gmail.com> wrote:
> > Hello.
> >
> > I want to clarify a seats supporting by wayland(and weston). By "seats
> > support" I mean an ability to define in weston.ini file some "seats" and
> > imput(keyboard, mouse) and output (monitors) channels for each of that
> > seats. If the answer is YES, can you point me any docs related to this
> > stuff. If NO, could you explain, please, a "seat" metaphor of the
> protocol,
> > and how it maps in weston implementation (I saw the wl_seat struct is
> goes
> > through all the code for ex.)
> >
> > Tnx for advance.
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130418/4f6c3b46/attachment.html>


More information about the wayland-devel mailing list