summaryrefslogtreecommitdiff
path: root/src/key.c
diff options
context:
space:
mode:
authorwangfei <feix.w.wang@intel.com>2014-01-09 01:51:58 -0500
committerwangfei <feix.w.wang@intel.com>2014-01-09 01:55:52 -0500
commit3644ad545979e4f23ae8ca1bd94fe4b87af235e5 (patch)
tree83194ed343d33174b6a543f6136363ae19e4721b /src/key.c
parent894983680be3832eeb42c728f70602be27d5d685 (diff)
downloadaul-1-3644ad545979e4f23ae8ca1bd94fe4b87af235e5.tar.gz
aul-1-3644ad545979e4f23ae8ca1bd94fe4b87af235e5.tar.bz2
aul-1-3644ad545979e4f23ae8ca1bd94fe4b87af235e5.zip
The display server based on X or Wayland, is now a choice of different profile in Tizen 3.0. Basically and consistently, two macros were used "with wayland" and "with x". Below summarize the combination of the macros: | wayland | x | meaning |--------------------------- | 0 | 1 | pure X11 platform(no wayland) | 1 | 0 | pure wayland platform (no X11) | 1 | 1 | wayland but X compatibility | 0 | 0 | no X and no wayland This method unifies the meaning and usage. Deploy this method to aul-1 package. Currently we need "pure wayland platform (no X11)" status,so "with wayland" and "with x" are defined into "1" and "0" in build.conf file.If you need other status of above illustration, please change values of "with x" and "with wayland" in your build.conf file. Signed-off-by: wangfei <feix.w.wang@intel.com> Change-Id: I50cbee1ae458ac49bd0ffc839f65f4c7fb11ac9b
Diffstat (limited to 'src/key.c')
-rw-r--r--[-rwxr-xr-x]src/key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/key.c b/src/key.c
index da44d65f..a94f03c1 100755..100644
--- a/src/key.c
+++ b/src/key.c
@@ -23,7 +23,9 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#ifdef X11
#include <utilX.h>
+#endif
#include <glib.h>
#include <poll.h>
#include <bundle.h>