summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-09 15:51:41 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-09 15:51:41 -0400
commitf2adbe14529fd9a9391775e3d8b30a80b4b9cefd (patch)
tree533f35603804427e77bb681e02b4a7becf79bfcb /src/lib/ecore_evas/ecore_evas.c
parent7753e1b3743ae5ec0bf283bf777bc3fd6df84055 (diff)
ecore-evas: make manual_render_set a no-op when setting the current value
Summary: this should not take any action if the existing value of manual_render is set to the passed value Reviewers: devilhorns, kimcinoo, ManMower Reviewed By: devilhorns, kimcinoo, ManMower Subscribers: ManMower, cedric, #reviewers, #committers Tags: #efl_display_system Differential Revision: https://phab.enlightenment.org/D6786
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index cce53df..f3033b6 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2613,6 +2613,8 @@ EAPI void
2613ecore_evas_manual_render_set(Ecore_Evas *ee, Eina_Bool manual_render) 2613ecore_evas_manual_render_set(Ecore_Evas *ee, Eina_Bool manual_render)
2614{ 2614{
2615 ECORE_EVAS_CHECK(ee); 2615 ECORE_EVAS_CHECK(ee);
2616 manual_render = !!manual_render;
2617 if (ee->manual_render == manual_render) return;
2616 ee->manual_render = manual_render; 2618 ee->manual_render = manual_render;
2617 2619
2618 if (manual_render) ecore_evas_render_wait(ee); 2620 if (manual_render) ecore_evas_render_wait(ee);