xwayland: Move includes to avoid deprecation warnings
authorDaniel Stone <daniels@collabora.com>
Mon, 31 Oct 2016 14:51:18 +0000 (14:51 +0000)
committerDaniel Stone <daniels@collabora.com>
Tue, 1 Nov 2016 17:02:38 +0000 (17:02 +0000)
commit67fe3dbdd061ae2a8451eb0c15ae43f2d5381b20
tree5da175efb47e67857e97cd7468c3a4e1142eca59
parent5b01596e3f571390b503cb074ca893c71ac21dcb
xwayland: Move includes to avoid deprecation warnings

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 we actually make use of
it.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Tested-by: Yong Bakos <ybakos@humanoriented.com>
xwayland/dnd.c
xwayland/window-manager.c