forked from enlightenment/efl
b29847e0da
When trying to create a window, the WL EGL engine creates an ecore_evas and connects to the wayland display. But if EGL is not supported (in weston with nvidia for instance), the egl initialization fails and the window must be detroyed in order to fallback to wayland_shm. This led to a double disconnect from the wayland display as both the ecore_evas del and the error handling code were trying to disconnect. Also, use ref == 0 in two places rather than ref <= 0, as it can prevent double frees in bad situations (ref < 0). And reset a global variable to NULL on shutdown. |
||
---|---|---|
.. | ||
Ecore_Wl2.h | ||
ecore_wl2.c | ||
ecore_wl2_display.c | ||
ecore_wl2_dnd.c | ||
ecore_wl2_input.c | ||
ecore_wl2_output.c | ||
ecore_wl2_private.h | ||
ecore_wl2_seat.c | ||
ecore_wl2_subsurf.c | ||
ecore_wl2_window.c | ||
linux-dmabuf-unstable-v1-client-protocol.h | ||
linux-dmabuf-unstable-v1-protocol.c | ||
linux-dmabuf-unstable-v1-server-protocol.h | ||
session-recovery.c | ||
session-recovery.h | ||
subsurface-client-protocol.h | ||
subsurface-protocol.c | ||
teamwork_protocol.c | ||
teamwork_protocol.h | ||
www-protocol.c | ||
www-protocol.h | ||
xdg-shell-client-protocol.h | ||
xdg-shell-protocol.c |