feat(steamframe-gaming): add --vr-only native mode, OpenXR controllers, minimalist VR menu & Gaming Mode launcher

This commit is contained in:
bleack committed 2026-11-24 19:15:22 +01:00
1 parent 0823a9e682
commit 128afc2810
12 files changed
+793 -124

No files matched your search

+9
View File
@@ -3803,11 +3803,20 @@ pub fn run_gpui_app(cfg: AppConfig, log_buffer: Arc<Mutex<LogBuffer>>) -> Result
let should_continue = cx
.update(|window, cx| {
if let Some(view) = weak_view.upgrade() {
let mut exit_now = false;
view.update(cx, |this, cx| {
if this.controls.is_exit_requested() {
exit_now = true;
return;
}
if this.sync_from_engine(window) {
cx.notify();
}
});
if exit_now {
window.remove_window();
return false;
}
true
} else {
false