summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-04-08 09:56:56 +0200
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-04-08 11:35:10 +0200
commit53e94cc3334281ddfe622dabd9915a4273010050 (patch)
treed0c039c06fc4bbf2c78d1485b29f60f0f9c2b67e
parent169160376d0e3002eaf16bb63c39e9557a94a214 (diff)
downloadsyspopup-53e94cc3334281ddfe622dabd9915a4273010050.tar.gz
syspopup-53e94cc3334281ddfe622dabd9915a4273010050.tar.bz2
syspopup-53e94cc3334281ddfe622dabd9915a4273010050.zip
Remove definition of __efl_rotate() when in a pure Wayland environment. Note that syspopup builds in pure Wayland but isn't functionnal. Bug that reports this "working on Wayland" issue: PTREL-777. Change-Id: Id8fb642c52620750f04b0908a5cbfde3f7dda285 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rwxr-xr-xsyspopup/syspopup_efl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/syspopup/syspopup_efl.c b/syspopup/syspopup_efl.c
index dbb3555..5c33530 100755
--- a/syspopup/syspopup_efl.c
+++ b/syspopup/syspopup_efl.c
@@ -82,11 +82,13 @@ static int __efl_rotate(Display *dpy, Window win, syspopup *sp)
}
#endif
#else
+#ifndef WAYLAND
static int __efl_rotate(Display *dpy, Window win, syspopup *sp)
{
return 0;
}
-#endif
+#endif /* WAYLAND */
+#endif /* ROTATE_USING_X_CLIENT */
API int syspopup_create(bundle *b, syspopup_handler *handler,
Evas_Object *parent, void *user_data)