pointer: store the output instead of its name

In cases where the value is actually valid, the input device lives
just as long as the output, so it's easier to provide the output itself
instead for making a compositor find it by the name.
This commit is contained in:
Kirill Primak 2023-06-03 20:10:22 +03:00
parent b61d5922f1
commit 4cbc8385ce
4 changed files with 3 additions and 5 deletions

View file

@ -36,6 +36,4 @@ void wlr_pointer_init(struct wlr_pointer *pointer,
void wlr_pointer_finish(struct wlr_pointer *pointer) {
wlr_input_device_finish(&pointer->base);
free(pointer->output_name);
}