Rework Qt window handling during SDL window creation

- Avoids blindly enumeration all top-level windows
- Properly tracks screen changes during the connection process
- Starts stream window minimized if the Qt window was minimized

Fixes #1231
This commit is contained in:
Cameron Gutman
2024-03-24 21:34:54 -05:00
parent 0d67fd1ff0
commit a45695a22a
3 changed files with 48 additions and 41 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ Item {
gc()
// Run the streaming session to completion
session.exec(Screen.virtualX, Screen.virtualY)
session.exec(Window.window)
}
sourceComponent: Item {}