#define COMPOSITOR_VERSION 3
+E_API int E_EVENT_WAYLAND_GLOBAL_ADD = -1;
+
/* Resource Data Mapping: (wl_resource_get_user_data)
*
* wl_surface == e_pixmap
e_desklock_show_hook_add(_e_comp_wl_desklock_show);
e_desklock_hide_hook_add(_e_comp_wl_desklock_hide);
+ E_EVENT_WAYLAND_GLOBAL_ADD = ecore_event_type_new();
+
_last_event_time = ecore_loop_time_get();
return EINA_TRUE;
EINTERN Eina_Bool e_comp_wl_key_up(Ecore_Event_Key *ev);
E_API Eina_Bool e_comp_wl_evas_handle_mouse_button(E_Client *ec, uint32_t timestamp, uint32_t button_id, uint32_t state);
+E_API extern int E_EVENT_WAYLAND_GLOBAL_ADD;
+
# ifndef HAVE_WAYLAND_ONLY
EINTERN void e_comp_wl_xwayland_client_queue(E_Client *ec);
static inline E_Comp_X_Client_Data *
if (!strcmp(interface, "wl_shm"))
e_comp->wl_comp_data->wl.shm = wl_registry_bind(registry, id, &wl_shm_interface, 1);
+ ecore_event_add(E_EVENT_WAYLAND_GLOBAL_ADD, NULL, NULL, NULL);
}
static void