Removed build deps on ecore-x and libslp-utilx
[profile/ivi/taskmanager.git] / src / _logic.c
index 1cbdd5a..041074a 100755 (executable)
@@ -19,7 +19,9 @@
 
 #include <appcore-common.h>
 #include <aul.h>
+#if HAVE_X
 #include <Ecore_X.h>
+#endif
 #include <vconf.h>
 
 #include "taskmanager.h"
@@ -223,7 +225,9 @@ static Eina_Bool __climsg_cb(void *data, int type, void *event)
 
        pid_a = ev->data.l[1];
        pid_d = ev->data.l[3];
+#if HAVE_X
        a_deact = ecore_x_atom_get("_X_ILLUME_DEACTIVATE_WINDOW");
+#endif
 
        /* when pid_a == pid_d, this is useless data */
        if (pid_a == pid_d) {