ecore-wayland: test for subsurface protocol in wayland core
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Fri, 22 Nov 2013 12:39:03 +0000 (04:39 -0800)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Fri, 22 Nov 2013 13:09:53 +0000 (05:09 -0800)
commitcfb121c8f8c3f286967a2b0840a46cc1b4cc3efc
treebceb9861053592f8b66a99107e6b7f1dbc747f4d
parent58368ea63699291c535c78c9fcc6269c478ca511
ecore-wayland: test for subsurface protocol in wayland core

The subsurface protocol was moved into Wayland Core
around v1.3.90 (i.e. v1.4.0).

Test if subsurface protocol is part of wayland-client.h.
If not, we include our own copy of the protocol header.

Also, some whitespace cleanup in ecore_wl.c.

Tested with Wayland 1.3.0 and 1.3.90 (master:360dca5).

Fixes T529

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/lib/ecore_wayland/ecore_wl.c
src/lib/ecore_wayland/ecore_wl_subsurf.c