aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_input_device.h2
-rw-r--r--include/wlr/types/wlr_tablet_tool.h2
-rw-r--r--include/wlr/types/wlr_touch.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h
index 730912f7..8c360aab 100644
--- a/include/wlr/types/wlr_input_device.h
+++ b/include/wlr/types/wlr_input_device.h
@@ -29,8 +29,6 @@ struct wlr_input_device {
enum wlr_input_device_type type;
unsigned int vendor, product;
char *name;
- // Or 0 if not applicable to this device
- double width_mm, height_mm;
/* wlr_input_device.type determines which of these is valid */
union {
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index c7d612a3..2819bcc4 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -64,6 +64,8 @@ struct wlr_tablet {
const struct wlr_tablet_impl *impl;
+ double width_mm, height_mm;
+
struct {
struct wl_signal axis;
struct wl_signal proximity;
diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h
index ed2f0033..ac256e08 100644
--- a/include/wlr/types/wlr_touch.h
+++ b/include/wlr/types/wlr_touch.h
@@ -21,6 +21,7 @@ struct wlr_touch {
const struct wlr_touch_impl *impl;
char *output_name;
+ double width_mm, height_mm;
struct {
struct wl_signal down; // struct wlr_event_touch_down