diff options
author | Simon Ser <contact@emersion.fr> | 2019-07-27 23:02:56 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-27 17:16:56 -0400 |
commit | f984f21b6a71bf8794de61f58b00d99ed3537c50 (patch) | |
tree | 4f20eeb79a06469be2e5a6f62751e7aa4add4676 /sway/tree/view.c | |
parent | Avoid adding duplicate criteria for no_focus and command (diff) | |
download | sway-f984f21b6a71bf8794de61f58b00d99ed3537c50.tar.gz sway-f984f21b6a71bf8794de61f58b00d99ed3537c50.tar.zst sway-f984f21b6a71bf8794de61f58b00d99ed3537c50.zip |
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/view.c')
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | 1 | #define _POSIX_C_SOURCE 200809L |
2 | #include <stdlib.h> | 2 | #include <stdlib.h> |
3 | #include <strings.h> | 3 | #include <strings.h> |
4 | #include <wayland-server.h> | 4 | #include <wayland-server-core.h> |
5 | #include <wlr/render/wlr_renderer.h> | 5 | #include <wlr/render/wlr_renderer.h> |
6 | #include <wlr/types/wlr_buffer.h> | 6 | #include <wlr/types/wlr_buffer.h> |
7 | #include <wlr/types/wlr_output_layout.h> | 7 | #include <wlr/types/wlr_output_layout.h> |