Merge branch 'input-device-output' into 'master'

Draft: pointer,touch: store the output instead of its name

See merge request wlroots/wlroots!4167
This commit is contained in:
Kirill Primak 2025-01-11 00:37:12 +00:00
commit 2f49d01779
5 changed files with 6 additions and 5 deletions

View file

@ -669,7 +669,7 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
wl_list_insert(&x11->outputs, &output->link);
wlr_pointer_init(&output->pointer, &x11_pointer_impl, "x11-pointer");
output->pointer.output_name = strdup(wlr_output->name);
output->pointer.output = wlr_output;
wlr_touch_init(&output->touch, &x11_touch_impl, "x11-touch");
output->touch.output_name = strdup(wlr_output->name);