diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-11 15:40:50 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-11 15:40:50 +0100 |
commit | a56098a24e43f459d52a638611a9084c9b1a32d8 (patch) | |
tree | 3311ad5e50f0564317d7ff91f0f7001294fb47ef | |
parent | Replace wlr_key_state with wl_keyboard_key_state (diff) | |
download | sway-a56098a24e43f459d52a638611a9084c9b1a32d8.tar.gz sway-a56098a24e43f459d52a638611a9084c9b1a32d8.tar.zst sway-a56098a24e43f459d52a638611a9084c9b1a32d8.zip |
Add missing includes for wlr_input_device.h
References: https://github.com/swaywm/wlroots/pull/2470
-rw-r--r-- | sway/input/cursor.c | 4 | ||||
-rw-r--r-- | sway/input/tablet.c | 2 |
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 @@ | |||
8 | #include <wlr/types/wlr_box.h> | 8 | #include <wlr/types/wlr_box.h> |
9 | #include <wlr/types/wlr_cursor.h> | 9 | #include <wlr/types/wlr_cursor.h> |
10 | #include <wlr/types/wlr_idle.h> | 10 | #include <wlr/types/wlr_idle.h> |
11 | #include <wlr/types/wlr_pointer.h> | ||
12 | #include <wlr/types/wlr_touch.h> | ||
11 | #include <wlr/types/wlr_tablet_v2.h> | 13 | #include <wlr/types/wlr_tablet_v2.h> |
14 | #include <wlr/types/wlr_tablet_pad.h> | ||
15 | #include <wlr/types/wlr_tablet_tool.h> | ||
12 | #include <wlr/types/wlr_xcursor_manager.h> | 16 | #include <wlr/types/wlr_xcursor_manager.h> |
13 | #include <wlr/util/region.h> | 17 | #include <wlr/util/region.h> |
14 | #include "config.h" | 18 | #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 @@ | |||
2 | #include <stdlib.h> | 2 | #include <stdlib.h> |
3 | #include <wlr/backend/libinput.h> | 3 | #include <wlr/backend/libinput.h> |
4 | #include <wlr/types/wlr_tablet_v2.h> | 4 | #include <wlr/types/wlr_tablet_v2.h> |
5 | #include <wlr/types/wlr_tablet_tool.h> | ||
6 | #include <wlr/types/wlr_tablet_pad.h> | ||
5 | #include "log.h" | 7 | #include "log.h" |
6 | #include "sway/input/cursor.h" | 8 | #include "sway/input/cursor.h" |
7 | #include "sway/input/seat.h" | 9 | #include "sway/input/seat.h" |