Re: [PATCH weston] xwayland: Move includes to avoid deprecation warnings

2016-11-01 Thread Daniel Stone
On 1 November 2016 at 16:55, Yong Bakos wrote: > On Oct 31, 2016, at 7:53 AM, Daniel Stone wrote: >> compositor.h already helpfully defines WL_HIDE_DEPRECATED for us, so we >> don't get warnings about wl_buffer (in particular) being deprecated when >> we have wayland-server headers defining it as

Re: [PATCH weston] xwayland: Move includes to avoid deprecation warnings

2016-11-01 Thread Yong Bakos
On Oct 31, 2016, at 7:53 AM, Daniel Stone wrote: > > compositor.h already helpfully defines WL_HIDE_DEPRECATED for us, so we > don't get warnings about wl_buffer (in particular) being deprecated when > we have wayland-server headers defining it as deprecated, and then > wayland-client headers usi

[PATCH weston] xwayland: Move includes to avoid deprecation warnings

2016-10-31 Thread Daniel Stone
compositor.h already helpfully defines WL_HIDE_DEPRECATED for us, so we don't get warnings about wl_buffer (in particular) being deprecated when we have wayland-server headers defining it as deprecated, and then wayland-client headers using the type. Move it to be before all our other includes, so