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
|
|
@ -469,7 +469,7 @@ void create_pointer(struct wlr_wl_seat *seat, struct wlr_wl_output *output) {
|
|||
snprintf(name, sizeof(name), "wayland-pointer-%s", seat->name);
|
||||
wlr_pointer_init(&pointer->wlr_pointer, &wl_pointer_impl, name);
|
||||
|
||||
pointer->wlr_pointer.output_name = strdup(output->wlr_output.name);
|
||||
pointer->wlr_pointer.output = &output->wlr_output;
|
||||
|
||||
pointer->seat = seat;
|
||||
pointer->output = output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue