-
Committer:
CI bot
-
Author(s):
Gerry Boland
-
Date:
2014-04-11 21:08:54 UTC
-
mfrom:
(206.1.5 compatibility-with-mir-0.1.8)
-
Revision ID:
ps-jenkins@lists.canonical.com-20140411210854-4kgulh0nvg95b68o
Manually call mir's SurfacePlacementStrategy::place and SessionListener::surface_created methods for in process client Surface
Mir 0.1.8 refactoring causes in-process client surfaces to be an implementation detail of Mir's surface stack, and prevents shell from getting access to its surface to position it and define input areas on it. To fix this,we perform the following:
1. Create an InProcessClientSession to represent the in-process client
2. Get access to Mir's SurfacePlacementStrategy object and call its place method explicitly, to allow shell to position its surface
3. Get access to Mir's SessionListener object and call its surface_created method explicitly, to notify shell its surface was created