discomfitor pushed a commit to branch master.

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

commit f046c98f59305af659a735d23c0cc2a0885589d5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jun 30 15:37:56 2015 -0400

    attempt to create xwayland x11 socket path before creating socket
---
 src/modules/xwayland/e_mod_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 2eed1a2..54afb76 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -102,6 +102,8 @@ _abstract_socket_bind(int disp)
    if ((fd = socket(PF_LOCAL, (SOCK_STREAM | SOCK_CLOEXEC), 0)) < 0) 
      return -1;
 
+   ecore_file_mkpath("/tmp/.X11-unix");
+
    addr.sun_family = AF_LOCAL;
    nsize = snprintf(addr.sun_path, sizeof(addr.sun_path), 
                     "%c/tmp/.X11-unix/X%d", 0, disp);

-- 


Reply via email to