forked from enlightenment/efl
elementary/win: Fix engine comparision condition.
With the wrong comparison, elm_win_wl_window_get() will always return NULL. Patch by: U. Artie Eoff <ullysses.a.eoff@intel.com> SVN revision: 83303
This commit is contained in:
parent
3bcb50c61b
commit
985c6f7af9
|
@ -5102,7 +5102,7 @@ elm_win_wl_window_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
if (!obj) return NULL;
|
if (!obj) return NULL;
|
||||||
|
|
||||||
if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) ||
|
if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) &&
|
||||||
(!ENGINE_COMPARE(ELM_WAYLAND_EGL)))
|
(!ENGINE_COMPARE(ELM_WAYLAND_EGL)))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue