devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=6d2572efc0d31cb73cf810cd8b901c237b4b7712

commit 6d2572efc0d31cb73cf810cd8b901c237b4b7712
Author: Boram Park <boram1288.p...@samsung.com>
Date:   Wed Sep 23 09:15:53 2015 -0400

    Creating wl_shm global object before creating other global objects
    
    Summary:
      It's more useful for client to bind wl_shm before receiving other global
      object's events. Then, App can quickly prepare some buffers. i.e. cursor,
      etc.
    
    Signed-off-by: Boram Park <boram1288.p...@samsung.com>
    
    Reviewers: stefan_schmidt, gwanglim, raster, zmike, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D3080
---
 src/bin/e_comp_wl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index bba1aef..da1bf55 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2536,6 +2536,9 @@ _e_comp_wl_compositor_create(void)
         goto comp_global_err;
      }
 
+   /* initialize shm mechanism */
+   wl_display_init_shm(cdata->wl.disp);
+
    cdata->screenshooter.global =
      wl_global_create(cdata->wl.disp, &screenshooter_interface, 1,
                       e_comp, _e_comp_wl_screenshooter_cb_bind);
@@ -2600,9 +2603,6 @@ _e_comp_wl_compositor_create(void)
      }
 #endif
 
-   /* initialize shm mechanism */
-   wl_display_init_shm(cdata->wl.disp);
-
    /* get the wayland display loop */
    cdata->wl.loop = wl_display_get_event_loop(cdata->wl.disp);
 

-- 


Reply via email to