Commit 8cf7796
committed
Prevent game from closing from proximity/multi-tasking changes
XR_SESSION_STATE_STOPPING assumes that the OpenXR session can be resumed again and that the application temporarily closes it, which is quite hard with an emulator. Listening to the exiting event instead makes it so that you can still press the exit button in SteamVR/Air Link and it'll exit, but not listen to proximity changes.1 parent 61a7251 commit 8cf7796
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | | - | |
757 | 755 | | |
758 | 756 | | |
759 | 757 | | |
760 | 758 | | |
761 | 759 | | |
| 760 | + | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
0 commit comments