Change-Id: I75d629c825dc5ba6cd66491d29e7f23954b0548d
mp_qhs->set_event_handler(QLibHomeScreen::Event_ShowWindow,[this](json_object *object){
HMI_DEBUG("Launcher","Surface launcher got Event_ShowWindow\n");
- mp_qwm->activateWindow(m_myname);
- emit showWindow();
+ static bool first_start = true;
+ if (first_start) {
+ first_start = false;
+ mp_qwm->activateWindow(m_myname);
+ }
+ else {
+ emit showWindow();
+ }
});
mp_qhs->set_event_handler(QLibHomeScreen::Event_OnScreenMessage, [this](json_object *object){