weston/libweston
Armin Krezović f8486c33b4 compositor: Untangle surface/view is_mapped from output assignments
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@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-07-01 15:23:50 +03:00
..
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00