aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-11 15:40:50 +0100
committerSimon Ser <contact@emersion.fr>2020-11-11 15:40:50 +0100
commita56098a24e43f459d52a638611a9084c9b1a32d8 (patch)
tree3311ad5e50f0564317d7ff91f0f7001294fb47ef /sway/input
parentbb342ac5e6de67279a55edb76d8202f10411c38b (diff)
Add missing includes for wlr_input_device.h
References: https://github.com/swaywm/wlroots/pull/2470
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c4
-rw-r--r--sway/input/tablet.c2
2 files changed, 6 insertions, 0 deletions
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"