aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/pointer.c2
-rw-r--r--example/rotation.c2
-rw-r--r--example/shared.c3
-rw-r--r--example/shared.h3
-rw-r--r--example/simple.c2
-rw-r--r--example/tablet.c4
-rw-r--r--example/touch.c1
7 files changed, 10 insertions, 7 deletions
diff --git a/example/pointer.c b/example/pointer.c
index 9aeb41a7..6921d9b2 100644
--- a/example/pointer.c
+++ b/example/pointer.c
@@ -14,7 +14,7 @@
#include <wlr/render.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_keyboard.h>
#include <math.h>
#include "shared.h"
#include "cat.h"
diff --git a/example/rotation.c b/example/rotation.c
index 412a81ca..b795b438 100644
--- a/example/rotation.c
+++ b/example/rotation.c
@@ -15,7 +15,7 @@
#include <wlr/render.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_keyboard.h>
#include <math.h>
#include "shared.h"
#include "cat.h"
diff --git a/example/shared.c b/example/shared.c
index 6af3042b..c76a9195 100644
--- a/example/shared.c
+++ b/example/shared.c
@@ -9,7 +9,8 @@
#include <wayland-server-protocol.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_output.h>
+#include <wlr/types/wlr_input_device.h>
#include "shared.h"
static void keyboard_led_update(struct keyboard_state *kbstate) {
diff --git a/example/shared.h b/example/shared.h
index 6d533443..b07f820a 100644
--- a/example/shared.h
+++ b/example/shared.h
@@ -7,7 +7,8 @@
#include <wayland-server-protocol.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_output.h>
+#include <wlr/types/wlr_input_device.h>
struct output_state {
struct compositor_state *compositor;
diff --git a/example/simple.c b/example/simple.c
index 34d9c9b1..cb3a194c 100644
--- a/example/simple.c
+++ b/example/simple.c
@@ -8,7 +8,7 @@
#include <GLES3/gl3.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_output.h>
#include <xkbcommon/xkbcommon.h>
#include "shared.h"
diff --git a/example/tablet.c b/example/tablet.c
index 4d64b638..fb0cb65c 100644
--- a/example/tablet.c
+++ b/example/tablet.c
@@ -14,7 +14,9 @@
#include <wlr/render.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
+#include <wlr/types/wlr_output.h>
+#include <wlr/types/wlr_tablet_tool.h>
+#include <wlr/types/wlr_tablet_pad.h>
#include <math.h>
#include "shared.h"
#include "cat.h"
diff --git a/example/touch.c b/example/touch.c
index 2b6cb173..554c46c0 100644
--- a/example/touch.c
+++ b/example/touch.c
@@ -17,7 +17,6 @@
#include <wlr/render.h>
#include <wlr/backend.h>
#include <wlr/session.h>
-#include <wlr/types.h>
#include "shared.h"
#include "cat.h"