summaryrefslogtreecommitdiff
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
parent6fb460845898298de9e693e277b6d943ede32413 (diff)
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 T7172 ref fa02f16a3fcf24ac32ea0d1e07fbcb145b0da565 Reviewers: kimcinoo, eagleeye Reviewed By: kimcinoo Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7172 Differential Revision: https://phab.enlightenment.org/D6646
-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)
2377 } 2377 }
2378 _elm_win_state_eval(NULL); 2378 _elm_win_state_eval(NULL);
2379 } 2379 }
2380 if (!sd->first_draw) return;
2381 if (sd->frame_obj)
2382 {
2383 evas_object_show(sd->frame_obj);
2384 }
2385 if (sd->img_obj)
2386 {
2387 evas_object_show(sd->img_obj);
2388 }
2389 if (sd->pointer.obj)
2390 {
2391 evas_object_show(sd->pointer.obj);
2392 }
2380} 2393}
2381 2394
2382static void 2395static void