devilhorns pushed a commit to branch master.

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

commit e1c9bfa61989c5d77bd56aa4bf6187152be2bc25
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri May 15 14:44:21 2015 -0400

    wayland-compositor: Set server mode
    
    Summary:
    If we don't set server mode we can deadlock when trying to use functions
    that way for server mode to become set.
    
    This can currently cause a startup freeze in e_scale_init().
    
    Reviewers: zmike, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2520
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index beb390e..9505071 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2578,6 +2578,8 @@ e_comp_wl_init(void)
         return EINA_FALSE;
      }
 
+   ecore_wl_server_mode_set(1);
+
    /* try to init ecore_wayland */
    if (!ecore_wl_init(NULL))
      {

-- 


Reply via email to