From: Chris Michael Date: Tue, 9 Apr 2013 08:40:22 +0000 (+0100) Subject: Add headers and defaults for input support and egl support. X-Git-Tag: submit/efl/20131021.015651~891 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29be68914f76d472a46e8b94772adfd9df900be7;p=platform%2Fupstream%2Fenlightenment.git Add headers and defaults for input support and egl support. Signed-off-by: Chris Michael --- diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h index 6faa5c7..174386f 100644 --- a/src/bin/e_comp_wl.h +++ b/src/bin/e_comp_wl.h @@ -7,6 +7,22 @@ # include # include +# ifdef __linux__ +# include +# else +# define BTN_LEFT 0x110 +# define BTN_RIGHT 0x111 +# define BTN_MIDDLE 0x112 +# define BTN_SIDE 0x113 +# define BTN_EXTRA 0x114 +# define BTN_FORWARD 0x115 +# define BTN_BACK 0x116 +# endif + +# ifdef HAVE_WAYLAND_EGL +# include +# endif + # define container_of(ptr, type, member) ({ \ const __typeof__(((type *)0)->member) *__mptr = (ptr); \ (type *)((char *)__mptr - offsetof(type,member));}) @@ -217,6 +233,15 @@ struct _E_Wayland_Compositor struct xkb_context *context; } xkb; +#ifdef HAVE_WAYLAND_EGL + struct + { + EGLDisplay display; + EGLContext context; + EGLConfig config; + } egl; +#endif + E_Wayland_Shell_Interface shell_interface; Ecore_Fd_Handler *fd_handler;