qwm->set_event_handler(QLibWindowmanager::Event_SyncDraw, [qwm, myname](json_object *object) {
fprintf(stderr, "Surface got syncDraw!\n");
qwm->endDraw(json_object_new_string(myname.c_str()));
qwm->set_event_handler(QLibWindowmanager::Event_SyncDraw, [qwm, myname](json_object *object) {
fprintf(stderr, "Surface got syncDraw!\n");
qwm->endDraw(json_object_new_string(myname.c_str()));
hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, myname](json_object *object){
qDebug("object %s", json_object_to_json_string(object));
json_object *appnameJ = nullptr;
hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, myname](json_object *object){
qDebug("object %s", json_object_to_json_string(object));
json_object *appnameJ = nullptr;