From 6b25e902c7fb5eb66ddb71be62d290b963b53322 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 22 Oct 2015 11:54:59 -0400 Subject: [PATCH] remove unused event loop and add external Ecore_Wl2_Display variable Signed-off-by: Chris Michael --- src/bin/e_comp_wl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h index 7142f4d46..a061c5a24 100644 --- a/src/bin/e_comp_wl.h +++ b/src/bin/e_comp_wl.h @@ -102,7 +102,7 @@ struct _E_Comp_Wl_Data { struct wl_display *disp; struct wl_registry *registry; // only used for nested wl compositors - struct wl_event_loop *loop; + /* struct wl_event_loop *loop; */ Eina_Inlist *globals; // only used for nested wl compositors struct wl_shm *shm; // only used for nested wl compositors Evas_GL *gl; @@ -340,6 +340,8 @@ E_API Eina_Bool e_comp_wl_evas_handle_mouse_button(E_Client *ec, uint32_t timest E_API extern int E_EVENT_WAYLAND_GLOBAL_ADD; +E_API extern Ecore_Wl2_Display *ewd; + # ifndef HAVE_WAYLAND_ONLY EINTERN void e_comp_wl_xwayland_client_queue(E_Client *ec); static inline E_Comp_X_Client_Data *