diff options
author | Simon Ser <contact@emersion.fr> | 2019-07-27 11:53:54 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-27 15:49:32 -0400 |
commit | ca45f4490ccce64bf7aa0985951319646b55d258 (patch) | |
tree | b786f4c4fb07ab3af9b1567510cb75b4eb905bc9 /include/backend | |
parent | 76ef089f52b20a2def3dd1f8a8564af165050dcb (diff) |
Remove all wayland-server.h includes
The documentation for wayland-server.h says:
> Use of this header file is discouraged. Prefer including
> wayland-server-core.h instead, which does not include the server protocol
> header and as such only defines the library PI, excluding the deprecated API
> below.
Replacing wayland-server.h with wayland-server-core.h allows us to drop the
WL_HIDE_DEPRECATED declaration.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 2 | ||||
-rw-r--r-- | include/backend/wayland.h | 2 | ||||
-rw-r--r-- | include/backend/x11.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index bc1c2933..f007c9e0 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -7,7 +7,7 @@ #include <stddef.h> #include <stdint.h> #include <time.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wayland-util.h> #include <wlr/backend/drm.h> #include <wlr/backend/session.h> diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 8f8e1ea6..e25aba43 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -5,7 +5,7 @@ #include <wayland-client.h> #include <wayland-egl.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wayland-util.h> #include <wlr/backend/wayland.h> diff --git a/include/backend/x11.h b/include/backend/x11.h index 2bc08b21..e628e4cb 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -4,7 +4,7 @@ #include <stdbool.h> #include <X11/Xlib-xcb.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <xcb/xcb.h> #include <wlr/backend/x11.h> |