raster pushed a commit to branch master.

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

commit 413ca8046e44786d086816a94d60492b92f6fac6
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Feb 7 12:30:19 2015 +0900

    e - fix build when wayland not enabled
---
 src/bin/e_win.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 9e9f44b..2a1eef2 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -70,6 +70,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
         E_Pixmap_Type type;
 
         win = elm_win_window_id_get(o);
+#ifdef HAVE_WAYLAND_CLIENTS
         if (!strncmp(ecore_evas_engine_name_get(ee), "wayland", 7))
           {
              type = E_PIXMAP_TYPE_WL;
@@ -77,12 +78,16 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
              elm_win_borderless_set(o, 1);
              win = e_comp_wl_id_get(win, getpid());
           }
+#endif
+#ifndef HAVE_WAYLAND_ONLY
+# ifdef HAVE_WAYLAND_CLIENT
         else
+# endif
           {
              type = E_PIXMAP_TYPE_X;
              ctx->pointer = e_pointer_window_new(win, EINA_TRUE);
           }
-
+#endif
         ec = e_pixmap_find_client(type, win);
         if (ec)
           ctx->client = ec;

-- 


Reply via email to