summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungki Lee <mk5004.lee@samsung.com>2015-12-11 14:38:04 +0900
committerMyungki Lee <mk5004.lee@samsung.com>2015-12-11 14:38:04 +0900
commit1348106fda75d27045fcfb4c4409065ff7914e99 (patch)
treed50499621b205d1751ebe1d9944044da54fbf92a
parentf0dba7cdc2dd3e7ce9ca86937588552a9df7cb53 (diff)
downloadlaunchpad-1348106fda75d27045fcfb4c4409065ff7914e99.tar.gz
launchpad-1348106fda75d27045fcfb4c4409065ff7914e99.tar.bz2
launchpad-1348106fda75d27045fcfb4c4409065ff7914e99.zip
Change-Id: Ie94be12733d94a6e8743f702576c258d41f83b29 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rw-r--r--inc/sigchild.h3
-rwxr-xr-xsrc/launchpad.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/inc/sigchild.h b/inc/sigchild.h
index 1c93d72..fc26343 100644
--- a/inc/sigchild.h
+++ b/inc/sigchild.h
@@ -86,7 +86,7 @@ static inline int __send_app_dead_signal_dbus(int dead_pid)
return 0;
}
-static inline int __send_app_launch_signal_dbus(int launch_pid)
+static inline int __send_app_launch_signal_dbus(int launch_pid, const char *app_id)
{
DBusMessage *message;
@@ -99,6 +99,7 @@ static inline int __send_app_launch_signal_dbus(int launch_pid)
if (dbus_message_append_args(message,
DBUS_TYPE_UINT32, &launch_pid,
+ DBUS_TYPE_STRING, &app_id,
DBUS_TYPE_INVALID) == FALSE) {
_E("Failed to load data error");
return -1;
diff --git a/src/launchpad.c b/src/launchpad.c
index bfcab22..ab99f09 100755
--- a/src/launchpad.c
+++ b/src/launchpad.c
@@ -1019,7 +1019,7 @@ end:
close(clifd);
if (pid > 0)
- __send_app_launch_signal_dbus(pid);
+ __send_app_launch_signal_dbus(pid, menu_info->appid);
if (menu_info != NULL)
_appinfo_free(menu_info);