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 /backend/rdp | |
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 'backend/rdp')
-rw-r--r-- | backend/rdp/keyboard.c | 2 | ||||
-rw-r--r-- | backend/rdp/output.c | 2 | ||||
-rw-r--r-- | backend/rdp/pointer.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/backend/rdp/keyboard.c b/backend/rdp/keyboard.c index b3c5869d..78dd8b08 100644 --- a/backend/rdp/keyboard.c +++ b/backend/rdp/keyboard.c @@ -1,5 +1,5 @@ #include <stdlib.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_keyboard.h> #include <wlr/interfaces/wlr_keyboard.h> diff --git a/backend/rdp/output.c b/backend/rdp/output.c index 6133b751..45eba3aa 100644 --- a/backend/rdp/output.c +++ b/backend/rdp/output.c @@ -2,7 +2,7 @@ #include <EGL/egl.h> #include <EGL/eglext.h> #include <stdlib.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/types/wlr_output.h> #include <wlr/interfaces/wlr_output.h> #include <wlr/util/log.h> diff --git a/backend/rdp/pointer.c b/backend/rdp/pointer.c index 31186669..b3fdcd73 100644 --- a/backend/rdp/pointer.c +++ b/backend/rdp/pointer.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include <stdlib.h> #include <string.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_pointer.h> #include <wlr/interfaces/wlr_pointer.h> |