[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: Problems in KWayland causes by API and ABI compatibility promises
From: David Edmundson <david () davidedmundson ! co ! uk>
Date: 2020-04-20 21:50:02
Message-ID: CAGeFrHC4Co7jMGg8c-J-4o9nP9ZiEMb-e5AKLyH8kdofvdTy5g () mail ! gmail ! com
[Download RAW message or body]
> > The slight twist on that which we need to be wary of is that client
> > code will return shared objects if you request a
> > KWaylandClient::PlasmaShellSurface::get(window())
> > for the same window from two places you'll get the same PlasmaShell
> > instance returned - and therefore the same wl_resource.
> > If we hypothetically had a kwayland2::client also have a
> > plasmashellsurface::get() method we would have two plasma_shellsurface
> > wl_resources's for the same wl_surface which is a protocol error and
> > our client will get violently killed.
>
> Honestly you lost me here. :-)
Mixing libs for different protocols within one client is ok.
Mixing libs for the same protocol within one client is bad.
Hopefully the other kwin people will understand what I meant.
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic