From a56098a24e43f459d52a638611a9084c9b1a32d8 Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Wed, 11 Nov 2020 15:40:50 +0100
Subject: Add missing includes for wlr_input_device.h

References: https://github.com/swaywm/wlroots/pull/2470
---
 sway/input/cursor.c | 4 ++++
 sway/input/tablet.c | 2 ++
 2 files changed, 6 insertions(+)

(limited to 'sway')

diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 5c883924..184f9a00 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -8,7 +8,11 @@
 #include <wlr/types/wlr_box.h>
 #include <wlr/types/wlr_cursor.h>
 #include <wlr/types/wlr_idle.h>
+#include <wlr/types/wlr_pointer.h>
+#include <wlr/types/wlr_touch.h>
 #include <wlr/types/wlr_tablet_v2.h>
+#include <wlr/types/wlr_tablet_pad.h>
+#include <wlr/types/wlr_tablet_tool.h>
 #include <wlr/types/wlr_xcursor_manager.h>
 #include <wlr/util/region.h>
 #include "config.h"
diff --git a/sway/input/tablet.c b/sway/input/tablet.c
index 5f81f772..26e86e36 100644
--- a/sway/input/tablet.c
+++ b/sway/input/tablet.c
@@ -2,6 +2,8 @@
 #include <stdlib.h>
 #include <wlr/backend/libinput.h>
 #include <wlr/types/wlr_tablet_v2.h>
+#include <wlr/types/wlr_tablet_tool.h>
+#include <wlr/types/wlr_tablet_pad.h>
 #include "log.h"
 #include "sway/input/cursor.h"
 #include "sway/input/seat.h"
-- 
cgit v1.2.3