aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-03-08 16:45:03 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-03-17 13:44:18 -0400
commita92e5f8d4634a5d24c2fbab4a7fe0256558a96e6 (patch)
treea07b6ace0b7d1caabe69eb47e908d9df0baf4653 /backend/x11
parent2001441a370f673e8a46a1c172c5fc48df106750 (diff)
types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 1b51b629..86e1dfd8 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -574,10 +574,10 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
wlr_output_update_enabled(wlr_output, true);
wlr_pointer_init(&output->pointer, &x11_pointer_impl, "x11-pointer");
- output->pointer.base.output_name = strdup(wlr_output->name);
+ output->pointer.output_name = strdup(wlr_output->name);
wlr_touch_init(&output->touch, &x11_touch_impl, "x11-touch");
- output->touch.base.output_name = strdup(wlr_output->name);
+ output->touch.output_name = strdup(wlr_output->name);
wl_list_init(&output->touchpoints);
wlr_signal_emit_safe(&x11->backend.events.new_output, wlr_output);