summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2017-03-09 16:36:20 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-03-09 17:39:39 +0900
commit425a04beb375051cc4154fa70c0b3dc55091f786 (patch)
tree9b74cdcacb590855583276d9dd3d3304bcbd0913 /src/lib/elementary
parentf654714d75afdd07ad851bf278a39ddf8de6caba (diff)
popup: hides the popup when hide effect is finished
Summary: When popup hides and shows fast, sometimes popup is not shown because of the difference visible value between popup and notify (case: popup visible state: 1, popup_notify visible state: 0) To sync this value I added the visible set code in elc_popup.c @fix Test Plan: 1. run elementary_text -to popup 2. shows the hide popup 3. hides popup using the hide button 4. repeat 2,3 step 5. popup will be shown well Reviewers: jpeg, cedric, Hermet, raster Subscribers: Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D4710
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elc_popup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 2e49cebc35..7fa35ad22b 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -119,6 +119,7 @@ static void
119_hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED) 119_hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED)
120{ 120{
121 efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL); 121 efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL);
122 efl_gfx_visible_set(data, EINA_FALSE);
122} 123}
123 124
124 125