ecore/wayland: Add info about other bound interfaces.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 28 Oct 2013 16:12:27 +0000 (14:12 -0200)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 28 Oct 2013 16:47:32 +0000 (14:47 -0200)
Add output, seat, data_device_manager and subcompositor as possible
bound interfaces, on the ECORE_WL_EVENT_INTERFACES_BOUND event info.

src/lib/ecore_wayland/Ecore_Wayland.h
src/lib/ecore_wayland/ecore_wl.c

index 30545b7..4238c46 100644 (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;
 };
 
 /**
index ee614e0..9e8fa46 100644 (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);
      }