[PATCH weston v3 1/6] compositor: Untangle mapedness from outputs

Pekka Paalanen ppaalanen at gmail.com
Fri Jul 1 12:31:38 UTC 2016


On Thu, 30 Jun 2016 12:50:42 -0700
Bryce Harrington <bryce at osg.samsung.com> wrote:

> mapedness isn't a word ;-)
> 
> (Neither is mappedness really...  You'll likely need to reword the
> commit title entirely.  The third sentence in your commit message is
> probably a good starting point if you can boil it down.)

Hi all,

Bryce's comment is addressed by Armin's suggestion in irc, and I
applied it while pushing. The whole series is R-b me, and pushed:
   9c764df..0da12b8  master -> master


Thanks,
pq

> On Thu, Jun 30, 2016 at 06:04:28AM +0200, Armin Krezović wrote:
> > Currently, weston assumes a surface/view is mapped if
> > it has an output assigned. In a zero outputs scenario,
> > this isn't really desirable.
> > 
> > This patch introduces a new flag to weston_surface and
> > weston_view, which has to be set manually to indicate
> > that a surface/view is mapped.
> > 
> > v2:
> > 
> > - Remove usage of new flags from
> >   weston_{view,surface}_is_mapped at this point. They
> >   will be added after all the implicit mappings have
> >   been introduced
> > - Unmap a surface before unmapping a view so the input
> >   foci is cleaned up properly
> > - Remove implicit view mapping from view_list_add
> > - Cosmetic fixes
> > 
> > v3:
> > 
> > - Rebased to apply on git master
> > 
> > Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
> > ---
> >  libweston/compositor.c  | 15 ++++++---------
> >  libweston/compositor.h  |  4 ++++
> >  libweston/data-device.c |  2 ++
> >  libweston/input.c       |  2 ++
> >  4 files changed, 14 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160701/4315e72f/attachment.sig>


More information about the wayland-devel mailing list