diff options
author | Simon Ser <[email protected]> | 2019-07-27 11:53:54 +0300 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2019-07-27 15:49:32 -0400 |
commit | 5f589038c8fec55521fc6a09117e70345528157a (patch) | |
tree | 4098c97d348fa7956aeb35934bae8f2ee0df56d4 | |
parent | 132df104fbfa9e32b955ecfaeba46f0a781c26ed (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.
-rw-r--r-- | tinywl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ #include <stdio.h> #include <time.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend.h> #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_cursor.h> |