summaryrefslogtreecommitdiff
path: root/src/lib/elm_hover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_hover.c')
-rw-r--r--src/lib/elm_hover.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c
index 0e4c49c..1e9fd14 100644
--- a/src/lib/elm_hover.c
+++ b/src/lib/elm_hover.c
@@ -46,6 +46,7 @@ const Elm_Layout_Part_Alias_Description _content_aliases[] =
46 46
47#define ELM_PRIV_HOVER_SIGNALS(cmd) \ 47#define ELM_PRIV_HOVER_SIGNALS(cmd) \
48 cmd(SIG_CLICKED, "clicked", "") \ 48 cmd(SIG_CLICKED, "clicked", "") \
49 cmd(SIG_DISMISSED, "dismissed", "") \
49 cmd(SIG_SMART_LOCATION_CHANGED, "smart,changed", "") 50 cmd(SIG_SMART_LOCATION_CHANGED, "smart,changed", "")
50 51
51ELM_PRIV_HOVER_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE); 52ELM_PRIV_HOVER_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE);
@@ -533,6 +534,7 @@ _hov_dismiss_cb(void *data,
533{ 534{
534 evas_object_hide(data); 535 evas_object_hide(data);
535 evas_object_smart_callback_call(data, SIG_CLICKED, NULL); 536 evas_object_smart_callback_call(data, SIG_CLICKED, NULL);
537 evas_object_smart_callback_call(data, SIG_DISMISSED, NULL);
536} 538}
537 539
538static void 540static void
@@ -577,7 +579,10 @@ _elm_hover_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
577 sd->on_del = EINA_TRUE; 579 sd->on_del = EINA_TRUE;
578 580
579 if (evas_object_visible_get(obj)) 581 if (evas_object_visible_get(obj))
580 evas_object_smart_callback_call(obj, SIG_CLICKED, NULL); 582 {
583 evas_object_smart_callback_call(obj, SIG_CLICKED, NULL);
584 evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
585 }
581 586
582 elm_hover_target_set(obj, NULL); 587 elm_hover_target_set(obj, NULL);
583 588