discomfitor pushed a commit to branch enlightenment-0.20.

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

commit b4f664b7bcdadafc1f39c812267d719f6f8fa2e0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 8 11:51:18 2016 -0400

    make e_client_has_xwindow() more wayland-only friendly
---
 src/bin/e_client.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 7f771ab..67ea94a 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -4981,12 +4981,13 @@ e_client_has_xwindow(const E_Client *ec)
 #ifdef HAVE_WAYLAND_ONLY
    (void)ec;
    return EINA_FALSE;
-#endif
-#ifdef HAVE_WAYLAND
+#else
+# ifdef HAVE_WAYLAND
    if (!e_pixmap_is_x(ec->pixmap))
      return !!e_comp_wl_client_xwayland_pixmap(ec);
-#endif
+# endif
    return e_pixmap_is_x(ec->pixmap);
+#endif
 }
 
 ////////////////////////////////////////////

-- 


Reply via email to