瀏覽代碼

service: am: Focus state changed goes last

german77 2 年之前
父節點
當前提交
8e93537266
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/hle/service/am/am.cpp

+ 1 - 1
src/core/hle/service/am/am.cpp

@@ -931,8 +931,8 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
     sleep_lock_event = service_context.CreateEvent("ICommonStateGetter::SleepLockEvent");
 
     // Configure applets to be in foreground state
-    msg_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
     msg_queue->PushMessage(AppletMessageQueue::AppletMessage::ChangeIntoForeground);
+    msg_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
 }
 
 ICommonStateGetter::~ICommonStateGetter() {