From ca45f4490ccce64bf7aa0985951319646b55d258 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Jul 2019 11:53:54 +0300 Subject: 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. --- include/rootston/desktop.h | 2 +- include/rootston/input.h | 2 +- include/rootston/output.h | 2 +- include/rootston/seat.h | 2 +- include/rootston/server.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/rootston') 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 -#include +#include #include #include #include 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 +#include #include #include #include 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 #include -#include +#include #include #include 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 +#include #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 +#include #include #include #include -- cgit v1.2.3