@@ -53,7 +53,6 @@ FocusScope {
53 print("AAA surface changed,", surface)
53 print("AAA surface changed,", surface)
54 if (surface) {
54 if (surface) {
55 surfaceContainer.surface = surface;
55 surfaceContainer.surface = surface;
57 surfaceInitTimer.start();
56 surfaceInitTimer.start();
59 d.surfaceInitialized = false;
58 d.surfaceInitialized = false;
@@ -117,7 +116,10 @@ FocusScope {
117 id: surfaceInitTimer
116 id: surfaceInitTimer
118 interval: 100
117 interval: 100
119 onTriggered: {
118 onTriggered: {
120− if (root.surface && root.surface.live) {d.surfaceInitialized = true;}
119+ if (root.surface && root.surface.live) {
120+ d.surfaceInitialized = true;
121+ d.hadSurface = true;