mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 16:58:01 +02:00
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>
This commit is contained in:
parent
5b01596e3f
commit
67fe3dbdd0
2 changed files with 2 additions and 2 deletions
|
|
@ -37,10 +37,10 @@
|
|||
#include <signal.h>
|
||||
#include <X11/Xcursor/Xcursor.h>
|
||||
|
||||
#include "compositor.h"
|
||||
#include "xwayland.h"
|
||||
|
||||
#include "cairo-util.h"
|
||||
#include "compositor.h"
|
||||
#include "hash.h"
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@
|
|||
#include <X11/Xcursor/Xcursor.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
#include "compositor.h"
|
||||
#include "xwayland.h"
|
||||
#include "xwayland-internal-interface.h"
|
||||
|
||||
#include "cairo-util.h"
|
||||
#include "compositor.h"
|
||||
#include "hash.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue