I'm trying to use E applications under a wayland compositor.
When Xwayland is running and $DISPLAY is set, EFL applications will fail to start due to missing DPMS support:
elementary_test Xlib: extension "DPMS" missing on display ":0"
However, if I unset $DISPLAY, it will work fine in native wayland mode.
I don't know what the proper solution would be, but I assume right now EFL checks if $DISPLAY is set and runs in X mode if so.
This would suggest that EFL could check if $WAYLAND_DISPLAY is set and use wayland-mode by default.
I tested this with elementary_test, terminology, and ephoto, and it's the same behavior for all of them.