Start the SDL window on the same display as the Qt UI was displayed on

This commit is contained in:
Cameron Gutman
2018-09-05 15:15:53 -07:00
parent 4df9d6b20a
commit 856318f947
3 changed files with 45 additions and 27 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import QtQuick 2.0
import QtQuick.Controls 2.2
import QtQuick.Dialogs 1.2
import QtQuick.Window 2.2
import Session 1.0
@@ -69,7 +70,7 @@ Item {
session.displayLaunchWarning.connect(displayLaunchWarning)
// Run the streaming session to completion
session.exec()
session.exec(Screen.virtualX, Screen.virtualY)
// Show the Qt window again after streaming
window.visible = true