aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-11-11 14:16:41 +0100
committerSimon Ser <contact@emersion.fr>2020-11-11 15:40:47 +0100
commite06c9e43afd8d2067c2c28bc25ed0830e43e5c78 (patch)
tree547939dfa46a72c85c771c615ab0f94cb1be6977 /examples
parent0724b3c453e45b59aecdaecd6b654e1febb68dc7 (diff)
Remove unneeded includes from wlr_input_device.h
This uncovered many places where we were using things without directly including them.
Diffstat (limited to 'examples')
-rw-r--r--examples/multi-pointer.c1
-rw-r--r--examples/pointer.c3
-rw-r--r--examples/simple.c1
-rw-r--r--examples/tablet.c1
-rw-r--r--examples/touch.c2
5 files changed, 8 insertions, 0 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index eceeb6d6..a48f5888 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -16,6 +16,7 @@
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output_layout.h>
+#include <wlr/types/wlr_pointer.h>
#include <wlr/util/log.h>
#include <wlr/xcursor.h>
#include <xkbcommon/xkbcommon.h>
diff --git a/examples/pointer.c b/examples/pointer.c
index 703aa59e..92a5934e 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -15,6 +15,9 @@
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output_layout.h>
+#include <wlr/types/wlr_pointer.h>
+#include <wlr/types/wlr_tablet_tool.h>
+#include <wlr/types/wlr_touch.h>
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/util/log.h>
#include <xkbcommon/xkbcommon.h>
diff --git a/examples/simple.c b/examples/simple.c
index e3af1a11..ce58dfa9 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -10,6 +10,7 @@
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_input_device.h>
+#include <wlr/types/wlr_keyboard.h>
#include <wlr/util/log.h>
#include <xkbcommon/xkbcommon.h>
diff --git a/examples/tablet.c b/examples/tablet.c
index 7721ef72..59bf6979 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -14,6 +14,7 @@
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_input_device.h>
+#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_tablet_pad.h>
#include <wlr/types/wlr_tablet_tool.h>
#include <wlr/util/log.h>
diff --git a/examples/touch.c b/examples/touch.c
index 39dd1d45..3d18dfd0 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -14,7 +14,9 @@
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_input_device.h>
+#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_matrix.h>
+#include <wlr/types/wlr_touch.h>
#include <wlr/util/log.h>
#include <xkbcommon/xkbcommon.h>
#include "cat.h"