aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/libinput.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-07-27 11:53:54 +0300
committerDrew DeVault <sir@cmpwn.com>2019-07-27 15:49:32 -0400
commitca45f4490ccce64bf7aa0985951319646b55d258 (patch)
treeb786f4c4fb07ab3af9b1567510cb75b4eb905bc9 /include/wlr/backend/libinput.h
parent76ef089f52b20a2def3dd1f8a8564af165050dcb (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.
Diffstat (limited to 'include/wlr/backend/libinput.h')
-rw-r--r--include/wlr/backend/libinput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h
index 1a2ab294..50faaf7d 100644
--- a/include/wlr/backend/libinput.h
+++ b/include/wlr/backend/libinput.h
@@ -10,7 +10,7 @@
#define WLR_BACKEND_LIBINPUT_H
#include <libinput.h>
-#include <wayland-server.h>
+#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
#include <wlr/types/wlr_input_device.h>