Quantcast
Channel: Enlightenment
Viewing all articles
Browse latest Browse all 1612

Ticket #2218 ([wayland] elm_win_wl_window_get(...) always returns NULL) created

$
0
0

When using the wayland_egl or wayland_shm engine elm_win_wl_window_get(...) always returns NULL... an inspection of the source reveals wrong conditional logic that always results in a true evaluation... thus falling into the condition that returns NULL.

if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) ||
  (!ENGINE_COMPARE(ELM_WAYLAND_EGL)))
    return NULL;

The conditional logic should use && instead.

Source:
trunk 83302

Viewing all articles
Browse latest Browse all 1612

Trending Articles