Преглед изворни кода

Merge pull request #12837 from german77/cat

service: am: Focus state changed goes last
liamwhite пре 2 година
родитељ
комит
06abf3205a
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() {