summaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2019-07-27 23:02:56 +0300
committerDrew DeVault <[email protected]>2019-07-27 17:16:56 -0400
commitf984f21b6a71bf8794de61f58b00d99ed3537c50 (patch)
tree4f20eeb79a06469be2e5a6f62751e7aa4add4676 /sway/tree/container.c
parente4bba906b68b9347c085a7833f6dbc7ddb1a41b4 (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. This commit si similar to wlroots' ca45f4490ccc ("Remove all wayland-server.h includes").
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
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 <stdlib.h>
#include <string.h>
#include <strings.h>
-#include <wayland-server.h>
+#include <wayland-server-core.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_xdg_shell.h>