aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2019-07-27 23:02:56 +0300
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-07-27 17:16:56 -0400
commitf984f21b6a71bf8794de61f58b00d99ed3537c50 (patch)
tree4f20eeb79a06469be2e5a6f62751e7aa4add4676 /sway/ipc-server.c
parentAvoid adding duplicate criteria for no_focus and command (diff)
downloadsway-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/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 773e90fd..9c4f7a64 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -14,7 +14,7 @@
14#include <sys/ioctl.h> 14#include <sys/ioctl.h>
15#include <sys/un.h> 15#include <sys/un.h>
16#include <unistd.h> 16#include <unistd.h>
17#include <wayland-server.h> 17#include <wayland-server-core.h>
18#include "sway/commands.h" 18#include "sway/commands.h"
19#include "sway/config.h" 19#include "sway/config.h"
20#include "sway/desktop/transaction.h" 20#include "sway/desktop/transaction.h"