aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-24 09:18:50 -0500
committerDerek Foreman <derek.foreman.samsung@gmail.com>2018-07-24 09:18:50 -0500
commit6fa9fd789edc4042685643e42eb6c0ebfd63bc43 (patch)
tree2f6affc0677b7c3a61144b87a3ed7ebfaa734cb5 /src/lib/elementary/efl_ui_win.c
parenteina: Add doxygen in/out tags for evlog, file, fp, freeq (diff)
downloadefl-6fa9fd789edc4042685643e42eb6c0ebfd63bc43.tar.gz
efl_ui_win: show internal objects again on show if first_draw flag is set
Summary: in this case, a window is being shown again after being hidden, so it's safe to immediately show these objects as the size will not have changed since they were last visible fix https://phab.enlightenment.org/T7172 ref fa02f16a3fcf24ac32ea0d1e07fbcb145b0da565 Reviewers: kimcinoo, eagleeye Reviewed By: kimcinoo Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: https://phab.enlightenment.org/T7172 Differential Revision: https://phab.enlightenment.org/D6646
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 170edd2928..4e1e1a8acc 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2377,6 +2377,19 @@ _efl_ui_win_show(Eo *obj, Efl_Ui_Win_Data *sd)
}
_elm_win_state_eval(NULL);
}
+ if (!sd->first_draw) return;
+ if (sd->frame_obj)
+ {
+ evas_object_show(sd->frame_obj);
+ }
+ if (sd->img_obj)
+ {
+ evas_object_show(sd->img_obj);
+ }
+ if (sd->pointer.obj)
+ {
+ evas_object_show(sd->pointer.obj);
+ }
}
static void