devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2b9b18e5fa307f344ae756f2a739bd9a0744cdba

commit 2b9b18e5fa307f344ae756f2a739bd9a0744cdba
Author: Chris Michael <[email protected]>
Date:   Mon Oct 13 15:51:14 2014 -0400

    e-comp-wl: Enable sending of the surface_create signal from the
    compositor and provide an API function to retrieve that signal (used
    in a pending commit)
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.h | 42 +++++++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 17 deletions(-)

diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index a262d83..2f1b2c3 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -99,23 +99,29 @@ struct _E_Comp_Wl_Data
         struct wl_event_loop *loop;
      } wl;
 
-   /* NB: At the moment, we don't need these */
-   /* struct  */
-   /*   { */
-   /*      struct wl_signal destroy; */
-   /*      struct wl_signal activate; */
-   /*      struct wl_signal transform; */
-   /*      struct wl_signal kill; */
-   /*      struct wl_signal idle; */
-   /*      struct wl_signal wake; */
-   /*      struct wl_signal session; */
-   /*      struct  */
-   /*        { */
-   /*           struct wl_signal created; */
-   /*           struct wl_signal destroyed; */
-   /*           struct wl_signal moved; */
-   /*        } seat, output; */
-   /*   } signals; */
+   struct 
+     {
+        struct 
+          {
+             struct wl_signal create;
+             struct wl_signal activate;
+             struct wl_signal kill;
+          } surface;
+        /* NB: At the moment, we don't need these */
+        /*      struct wl_signal destroy; */
+        /*      struct wl_signal activate; */
+        /*      struct wl_signal transform; */
+        /*      struct wl_signal kill; */
+        /*      struct wl_signal idle; */
+        /*      struct wl_signal wake; */
+        /*      struct wl_signal session; */
+        /*      struct  */
+        /*        { */
+        /*           struct wl_signal created; */
+        /*           struct wl_signal destroyed; */
+        /*           struct wl_signal moved; */
+        /*        } seat, output; */
+     } signals;
 
    struct 
      {
@@ -267,6 +273,8 @@ EINTERN struct wl_resource *e_comp_wl_surface_create(struct 
wl_client *client, i
 EINTERN void e_comp_wl_surface_destroy(struct wl_resource *resource);
 EINTERN void e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, 
E_Comp_Wl_Buffer *buffer);
 
+EAPI struct wl_signal e_comp_wl_surface_signal_get(E_Comp *comp);
+
 static inline uint64_t
 e_comp_wl_id_get(uint32_t client, uint32_t surface)
 {

-- 


Reply via email to