summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--launcher/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp
index bd19036..291e9d5 100644
--- a/launcher/src/main.cpp
+++ b/launcher/src/main.cpp
@@ -123,9 +123,9 @@ int main(int argc, char *argv[])
homescreenHandler->init(port, token.toStdString().c_str());
- homescreenHandler->set_event_handler(QLibHomeScreen::Event_TapShortcut, [layoutHandler, myname](json_object *object){
- qDebug("Surface %s got tapShortcut\n", myname);
- layoutHandler->activateSurface(myname);
+ homescreenHandler->set_event_handler(QLibHomeScreen::Event_ShowWindow, [layoutHandler, myname](json_object *object){
+ qDebug("Surface %s got Event_ShowWindow\n", myname);
+ layoutHandler->activateWindow(myname);
});
QUrl bindingAddress;