commit a56098a24e43f459d52a638611a9084c9b1a32d8
parent bb342ac5e6de67279a55edb76d8202f10411c38b
Author: Simon Ser <contact@emersion.fr>
Date: Wed, 11 Nov 2020 15:40:50 +0100
Add missing includes for wlr_input_device.h
References: https://github.com/swaywm/wlroots/pull/2470
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git 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
@@ -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"