summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/livebox.h13
-rw-r--r--packaging/liblivebox.spec2
-rw-r--r--src/virtual_window.c2
3 files changed, 15 insertions, 2 deletions
diff --git a/include/livebox.h b/include/livebox.h
index a3b8e12..b1e85a1 100644
--- a/include/livebox.h
+++ b/include/livebox.h
@@ -171,6 +171,19 @@ extern const int LB_SYS_EVENT_MMC_STATUS_CHANGED;
/*!
* \brief
+ * Set highlight to given part
+ */
+#define LB_DESC_TYPE_ACCESS_OPERATION "access,operation"
+
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_SET "set,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_UNSET "unset,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_NEXT "next,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_PREV "prev,hl"
+#define LB_DESC_OPTION_ACCESS_HL_LOOP "cycle"
+#define LB_DESC_OPTION_ACCESS_HL_NOLOOP "no,cycle"
+
+/*!
+ * \brief
* Extra event informatino for livebox_content_event interface function
*/
#ifndef __PROVIDER_H
diff --git a/packaging/liblivebox.spec b/packaging/liblivebox.spec
index b5486d1..91cc315 100644
--- a/packaging/liblivebox.spec
+++ b/packaging/liblivebox.spec
@@ -1,6 +1,6 @@
Name: liblivebox
Summary: Library for the development of a livebox
-Version: 0.4.4
+Version: 0.4.5
Release: 1
Group: HomeTF/Livebox
License: Flora License
diff --git a/src/virtual_window.c b/src/virtual_window.c
index 785facc..26d6d2f 100644
--- a/src/virtual_window.c
+++ b/src/virtual_window.c
@@ -115,7 +115,7 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev
action_info.y = iy;
ret = elm_access_action(parent_elm, action_type, &action_info);
if (ret == EINA_TRUE) {
- if (!get_highlighted_object(edje)) {
+ if (!get_highlighted_object(parent_elm)) {
ErrPrint("Highlighted object is not found\n");
ret = LB_ACCESS_STATUS_ERROR;
} else {