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/rootston | |
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/rootston')
-rw-r--r-- | include/rootston/desktop.h | 2 | ||||
-rw-r--r-- | include/rootston/input.h | 2 | ||||
-rw-r--r-- | include/rootston/output.h | 2 | ||||
-rw-r--r-- | include/rootston/seat.h | 2 | ||||
-rw-r--r-- | include/rootston/server.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 791f5a8b..d3d6ec18 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_DESKTOP_H #define ROOTSTON_DESKTOP_H #include <time.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/config.h> #include <wlr/types/wlr_compositor.h> #include <wlr/types/wlr_foreign_toplevel_management_v1.h> diff --git a/include/rootston/input.h b/include/rootston/input.h index 31810b4d..a799db59 100644 --- a/include/rootston/input.h +++ b/include/rootston/input.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_INPUT_H #define ROOTSTON_INPUT_H -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_seat.h> diff --git a/include/rootston/output.h b/include/rootston/output.h index 6b02d69f..257d9367 100644 --- a/include/rootston/output.h +++ b/include/rootston/output.h @@ -2,7 +2,7 @@ #define ROOTSTON_OUTPUT_H #include <pixman.h> #include <time.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/types/wlr_box.h> #include <wlr/types/wlr_output_damage.h> diff --git a/include/rootston/seat.h b/include/rootston/seat.h index b91f9578..fa3a83dd 100644 --- a/include/rootston/seat.h +++ b/include/rootston/seat.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_SEAT_H #define ROOTSTON_SEAT_H -#include <wayland-server.h> +#include <wayland-server-core.h> #include "rootston/input.h" #include "rootston/keyboard.h" #include "rootston/layers.h" diff --git a/include/rootston/server.h b/include/rootston/server.h index 1836a374..f48549f2 100644 --- a/include/rootston/server.h +++ b/include/rootston/server.h @@ -1,7 +1,7 @@ #ifndef _ROOTSTON_SERVER_H #define _ROOTSTON_SERVER_H -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend.h> #include <wlr/backend/session.h> #include <wlr/config.h> |