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/desktop/layer_shell.c | 2 +- sway/desktop/output.c | 2 +- sway/desktop/render.c | 2 +- sway/desktop/xdg_shell.c | 2 +- sway/desktop/xdg_shell_v6.c | 2 +- sway/desktop/xwayland.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sway/desktop') diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 1667995c..ed00b282 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 22ced14e..7dcc8e51 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 6bea5656..9d7b89af 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 9e914f14..01574577 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include "log.h" diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 5ac589cf..0c6ab7dc 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include "log.h" #include "sway/decoration.h" diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index f6ca8f81..0f708201 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 199309L #include #include -#include +#include #include #include #include -- cgit v1.2.3-54-g00ecf