mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 00:32:48 +01:00
is (not) application
This commit is contained in:
parent
dd5d36a796
commit
c9bb915949
1 changed files with 3 additions and 2 deletions
|
@ -181,8 +181,9 @@ Result ILibraryAppletSelfAccessor::ExitProcessAndReturn() {
|
|||
if(!m_applet->caller_applet.expired()) {
|
||||
std::shared_ptr<Applet> applet = m_applet->caller_applet.lock();
|
||||
if(applet == nullptr) R_SUCCEED();
|
||||
LOG_INFO(Service_AM, "HAS CALLER");
|
||||
system.GetAppletManager().TrackApplet(applet, true);
|
||||
LOG_INFO(Service_AM, "tracking caller applet");
|
||||
// todo: is_application is set to false as window_system doesn't allow re-tracking without replacing the application
|
||||
system.GetAppletManager().TrackApplet(applet, false);
|
||||
applet->lifecycle_manager.SetFocusState(FocusState::InFocus);
|
||||
}
|
||||
R_SUCCEED();
|
||||
|
|
Loading…
Reference in a new issue