diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-12-20 19:56:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-12-20 19:56:49 +0000 |
commit | 4589c04f8bfb120f2bf89adaaa17bde846a45ba9 (patch) | |
tree | 0836e97af58b126a4771c6a9308ad4ee81615487 /app/main.cpp | |
parent | 082863ed552455fd6d04e2141ecf415559a7a861 (diff) | |
parent | 9cab31565840a6cdf8eea481d4cff98f6e0b3981 (diff) |
Merge "Use Event_ShowWindow instead of Event_TapShortcut"guppy_6.99.3guppy/6.99.36.99.3
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp index aa3a4bf..2c8c01b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -108,9 +108,9 @@ int main(int argc, char *argv[]) // HomeScreen hs->init(port, token.c_str()); - // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager - hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, &graphic_role](json_object *object){ - qDebug("Surface %s got tapShortcut\n", graphic_role.toStdString().c_str()); + // Set the event handler for Event_ShowWindow which will activate the surface for windowmanager + hs->set_event_handler(LibHomeScreen::Event_ShowWindow, [qwm, &graphic_role](json_object *object){ + qDebug("Surface %s got showWindow\n", graphic_role.toStdString().c_str()); qwm->activateWindow(graphic_role); }); |