From f984f21b6a71bf8794de61f58b00d99ed3537c50 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Jul 2019 23:02:56 +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. This commit si similar to wlroots' ca45f4490ccc ("Remove all wayland-server.h includes"). --- sway/tree/container.c | 2 +- sway/tree/view.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/tree') diff --git a/sway/tree/container.c b/sway/tree/container.c index 10aed599..ef44c944 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sway/tree/view.c b/sway/tree/view.c index be540804..bb3ae707 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include #include -#include +#include #include #include #include -- cgit v1.2.3-54-g00ecf