summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-23 14:17:54 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-23 14:18:41 -0500
commitb851afcb139bd6579b8020ea70cd6c8e6b34e46f (patch)
treefbce2f5d70b57d6f958b7d2925dbbf296a6a3c36
parenta11e70ab3c35ec6d70348b3d2f99fcd6adf449c3 (diff)
elm_win: disable handling of auto_norender_withdrawn for fake wins
these wins are not to be trifled with. fix T6377
-rw-r--r--src/lib/elementary/efl_ui_win.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 434c2df884..f9f9723d8e 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5310,15 +5310,18 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Efl_U
5310 evas_event_callback_add(sd->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE, _elm_win_frame_pre_render, sd); 5310 evas_event_callback_add(sd->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE, _elm_win_frame_pre_render, sd);
5311#endif 5311#endif
5312 5312
5313 //Prohibiting auto-rendering, until elm_win is shown. 5313 if (type != ELM_WIN_FAKE)
5314 if (_elm_config->auto_norender_withdrawn)
5315 { 5314 {
5316 if (elm_win_withdrawn_get(obj)) 5315 //Prohibiting auto-rendering, until elm_win is shown.
5316 if (_elm_config->auto_norender_withdrawn)
5317 { 5317 {
5318 if (!evas_object_data_get(obj, "__win_auto_norender")) 5318 if (elm_win_withdrawn_get(obj))
5319 { 5319 {
5320 elm_win_norender_push(obj); 5320 if (!evas_object_data_get(obj, "__win_auto_norender"))
5321 evas_object_data_set(obj, "__win_auto_norender", obj); 5321 {
5322 elm_win_norender_push(obj);
5323 evas_object_data_set(obj, "__win_auto_norender", obj);
5324 }
5322 } 5325 }
5323 } 5326 }
5324 } 5327 }