forked from suyu/suyu
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()) {
|
if(!m_applet->caller_applet.expired()) {
|
||||||
std::shared_ptr<Applet> applet = m_applet->caller_applet.lock();
|
std::shared_ptr<Applet> applet = m_applet->caller_applet.lock();
|
||||||
if(applet == nullptr) R_SUCCEED();
|
if(applet == nullptr) R_SUCCEED();
|
||||||
LOG_INFO(Service_AM, "HAS CALLER");
|
LOG_INFO(Service_AM, "tracking caller applet");
|
||||||
system.GetAppletManager().TrackApplet(applet, true);
|
// 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);
|
applet->lifecycle_manager.SetFocusState(FocusState::InFocus);
|
||||||
}
|
}
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
|
|
Loading…
Reference in a new issue