Send child process info 12/203112/6
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 10 Apr 2019 04:31:30 +0000 (13:31 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 24 Apr 2019 23:41:44 +0000 (08:41 +0900)
Whild creating a child process, the child process sends the signal
to amd. To manage window size, this is needed for window-manager.

Change-Id: I616906062920657d948293c34a64adc07561073a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
inc/launchpad_common.h
src/launchpad.c

index c4eefbc..b6aa841 100644 (file)
@@ -52,6 +52,7 @@
 #define LAUNCHPAD_LAUNCH_SIGNAL 83
 #define LAUNCHPAD_DEAD_SIGNAL 61
 #define APP_STARTUP_SIGNAL 89
+#define LAUNCHPAD_CHILD_PROCESS 130
 
 #define PAD_LOADER_ID_STATIC   0
 #define PAD_LOADER_ID_DIRECT   1
index bcb331f..c5d097f 100755 (executable)
@@ -580,6 +580,7 @@ static int __exec_loader_process(void *arg)
        char **argv = arg;
        char err_buf[1024];
 
+       _send_cmd_to_amd(LAUNCHPAD_CHILD_PROCESS);
        _signal_unblock_sigchld();
        _close_all_fds();
        _setup_stdio(basename(argv[LOADER_ARG_PATH]));