From 985c6f7af967eabc7ca3165f4178a60e4f3fa59c Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Thu, 24 Jan 2013 16:05:12 +0000 Subject: [PATCH] elementary/win: Fix engine comparision condition. With the wrong comparison, elm_win_wl_window_get() will always return NULL. Patch by: U. Artie Eoff SVN revision: 83303 --- legacy/elementary/src/lib/elm_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index d7222ccdeb..34de78c73a 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -5102,7 +5102,7 @@ elm_win_wl_window_get(const Evas_Object *obj) { if (!obj) return NULL; - if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) || + if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) && (!ENGINE_COMPARE(ELM_WAYLAND_EGL))) return NULL;