mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
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:
commit
2f49d01779
5 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue