antognolli pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3aca95bb22cac0f0ab86eede49a3118fbcc7c93e

commit 3aca95bb22cac0f0ab86eede49a3118fbcc7c93e
Author: Rafael Antognolli <rafael.antogno...@intel.com>
Date:   Mon Oct 28 14:12:27 2013 -0200

    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.
---
 src/lib/ecore_wayland/Ecore_Wayland.h | 4 ++++
 src/lib/ecore_wayland/ecore_wl.c      | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h 
b/src/lib/ecore_wayland/Ecore_Wayland.h
index 30545b7..4238c46 100644
--- a/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -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;
 };
 
 /**
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index ee614e0..9e8fa46 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -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);
      }

-- 


Reply via email to