change frameswapped seq
[staging/xdg-launcher.git] / src / runxdg.cpp
index 33d5324..04017bc 100644 (file)
@@ -333,7 +333,7 @@ int RunXDG::init_hs (void)
     AGL_DEBUG("Activesurface %s ", this->m_role.c_str());
     this->m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL);
   };
-  m_hs->set_event_handler(LibHomeScreen::Event_TapShortcut, handler);
+  m_hs->set_event_handler(LibHomeScreen::Event_ShowWindow, handler);
 
   std::function< void(json_object*) > h_default= [](json_object* object) {
     const char *j_str = json_object_to_json_string(object);
@@ -468,7 +468,7 @@ void RunXDG::setup_surface (void)
     // Recovering 1st time tap_shortcut is dropped because
     // the application has not been run yet (1st time launch)
     m_pending_create = false;
-    m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL);
+    m_hs->publishSubscription();
   }
 }