ecore/wayland: Add info about other bound interfaces.

Add output, seat, data_device_manager and subcompositor as possible
bound interfaces, on the ECORE_WL_EVENT_INTERFACES_BOUND event info.
This commit is contained in:
Rafael Antognolli 2013-10-28 14:12:27 -02:00
parent ad731e8b21
commit 3aca95bb22
2 changed files with 8 additions and 0 deletions

View File

@ -366,6 +366,10 @@ struct _Ecore_Wl_Event_Interfaces_Bound
Eina_Bool compositor : 1;
Eina_Bool shm : 1;
Eina_Bool shell : 1;
Eina_Bool output : 1;
Eina_Bool seat : 1;
Eina_Bool data_device_manager : 1;
Eina_Bool subcompositor : 1;
};
/**

View File

@ -556,6 +556,10 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned in
ev->compositor = (ewd->wl.compositor != NULL);
ev->shm = (ewd->wl.shm != NULL);
ev->shell = (ewd->wl.shell != NULL);
ev->output = (ewd->output != NULL);
ev->seat = (ewd->input != NULL);
ev->data_device_manager = (ewd->wl.data_device_manager != NULL);
ev->subcompositor = (ewd->wl.subcompositor != NULL);
ecore_event_add(ECORE_WL_EVENT_INTERFACES_BOUND, ev, NULL, NULL);
}