mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
request_focus is "dangerous" because any random server could request a UX context to pop up. There is a checked version that requires a GAM token that should be used, but, this leaves the question of how does the initial app that's supposed to be focused gets set. A small mod to the UxRegistration call is made to check for the name of the default focus app, and when it is seen, a thread is fired off to request focus for that app. That allows us to deprecate this otherwise dangerous call. |
||
|---|---|---|
| .. | ||
| cmds | ||
| cmds.rs | ||
| main.rs | ||
| oqc_test.rs | ||