~phablet-team/mir/no-tests

Viewing all changes in revision 826.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2013-07-08 21:55:06 UTC
  • mfrom: (792.1.50 remove-surface-target)
  • Revision ID: tarmac-20130708215506-le4i6apdsdi2qwgc
begin cleanup of ms::Surface by breaking "ms::Surface : public mi::SurfaceTarget" inheritance

the input system was using the surface object (specifically the std::weak_ptr<mi::SurfaceTarget> to the ms::Surface) as its 'key' for coordinating the surfaces. This bound the input system tightly to the surface stack, which prevented any proxying of ms::Surface and made the lifetime of ms::Surface tangled. This change breaks this dependency by making ms::Surface own an InputChannel, instead of it being a SurfaceTarget.

Approved by PS Jenkins bot, Alexandros Frantzis, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: