@@ -37,20 +37,10 @@ Rectangle {
37 height: units.gu(71)
37 height: units.gu(71)
39 QtObject {
39 QtObject {
40− id: applicationArguments
40+ id: _screenWindow
41−
41+ property bool primary: true
42− function hasGeometry() {
43+ property alias screenWindow: _screenWindow
55 Telephony.CallEntry {
45 Telephony.CallEntry {
56 id: phoneCall
46 id: phoneCall
@@ -154,6 +144,10 @@ Rectangle {
154 Component.onDestruction: {
144 Component.onDestruction: {
155 shellLoader.itemDestroyed = true;
145 shellLoader.itemDestroyed = true;
150+ surfaceManager: surfaceMan
@@ -238,7 +232,7 @@ Rectangle {
240 ItemSelector {
234 ItemSelector {
241− id: modeSelector
235+ id: modeSelector
242 anchors { left: parent.left; right: parent.right }
236 anchors { left: parent.left; right: parent.right }
243 activeFocusOnPress: false
237 activeFocusOnPress: false
244 text: "Mode"
238 text: "Mode"
@@ -327,9 +321,7 @@ Rectangle {
329 function ensureInputMethodSurface() {
323 function ensureInputMethodSurface() {
330− var surfaceManager = findInvisibleChild(shell, "surfaceManager");
331− verify(surfaceManager);
332− surfaceManager.createInputMethodSurface();
324+ shell.surfaceManager.createInputMethodSurface();
334 tryCompareFunction(function() { return topLevelSurfaceList.inputMethodSurface !== null }, true);
326 tryCompareFunction(function() { return topLevelSurfaceList.inputMethodSurface !== null }, true);