[mutter] xwayland: Fix typo



commit dd549604e28266a07f1f15950cae46bb971b7dd3
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Aug 6 16:16:41 2016 +0200

    xwayland: Fix typo
    
    Check the unix_fd, which is the one just created, the abstract_fd
    is already checked above.

 src/wayland/meta-xwayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index e8631c7..1b96ce5 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -426,7 +426,7 @@ choose_xdisplay (MetaXWaylandManager *manager)
         }
 
       manager->unix_fd = bind_to_unix_socket (display);
-      if (manager->abstract_fd < 0)
+      if (manager->unix_fd < 0)
         {
           unlink (lock_file);
           close (manager->abstract_fd);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]