From 69e8562903f885cc5bf5cb4ebc871702c1b3eda3 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Tue, 19 Mar 2013 08:11:24 +0000 Subject: [PATCH] Use the aul_open instead of aul_launch Change-Id: Ieaea5fdef40ebabcc9edee83ea930fb4a19c11e3 --- src/livebox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/livebox.c b/src/livebox.c index 2cb0e28..6ec2916 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -924,7 +924,7 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) } if (handler->lb.auto_launch) - if (aul_launch_app(handler->lb.auto_launch, NULL) < 0) + if (aul_open_app(handler->lb.auto_launch) < 0) ErrPrint("Failed to launch app %s\n", handler->lb.auto_launch); timestamp = util_timestamp(); @@ -2089,6 +2089,8 @@ EAPI int livebox_set_visibility(struct livebox *handler, enum livebox_visible_st } } + DbgPrint("Change the visibility %d <> %d, %s\n", handler->visible, state, handler->id); + if (handler->visible == state) return 0; -- 2.7.4