From 0cb9b88976bf1b08ea55ff3be562edd8a3c55b90 Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Wed, 15 Jan 2014 12:15:20 -0200 Subject: [PATCH] Wayland_EGL: Add return value to eng_setup Removing this block can lead to undefined behavior. It was removed by the following commit: commit 5cf962b39e77662dd6148a6a3468acbb51c78878 Author: Manuel Bachmann Date: Thu Dec 5 17:50:58 2013 +0100 Fix window hide/show() using withdrawn_set() Bug-Tizen: https://bugs.tizen.org/jira/browse/TIVI-2048 Bug-Upstream: https://phab.enlightenment.org/T155 Co-Authored-by: Rafael Antognolli Signed-off-by: Manuel Bachmann Change-Id: I25844c7e31db55f1100d663633aa9374bda306b0 Signed-off-by: Eduardo Lima (Etrunko) --- src/modules/engines/wayland_egl/evas_engine.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/engines/wayland_egl/evas_engine.c b/src/modules/engines/wayland_egl/evas_engine.c index 3bed4ed..076c2dc 100644 --- a/src/modules/engines/wayland_egl/evas_engine.c +++ b/src/modules/engines/wayland_egl/evas_engine.c @@ -810,6 +810,8 @@ eng_setup(Evas *e, void *in) // This is used in extensions. Not pretty but can't get display otherwise. current_engine = re; + + return 1; } static void -- 2.7.4