conditionally compile elm win trap wayland functionality
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 12 Mar 2015 18:28:18 +0000 (14:28 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 12 Mar 2015 18:28:18 +0000 (14:28 -0400)
src/bin/e_win.c

index 5f75283..6783017 100644 (file)
@@ -70,6 +70,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
         E_Pixmap_Type type = E_PIXMAP_TYPE_X;
 
         win = elm_win_window_id_get(o);
+#ifdef HAVE_WAYLAND
         if (!strncmp(ecore_evas_engine_name_get(ee), "wayland", 7))
           {
              type = E_PIXMAP_TYPE_WL;
@@ -78,6 +79,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
              win = e_comp_wl_id_get(win, getpid());
           }
         else
+#endif
           {
              type = E_PIXMAP_TYPE_X;
              ctx->pointer = e_pointer_window_new(win, EINA_TRUE);