mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
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:
parent
b61d5922f1
commit
4cbc8385ce
4 changed files with 3 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ struct wlr_pointer {
|
|||
|
||||
const struct wlr_pointer_impl *impl;
|
||||
|
||||
char *output_name;
|
||||
struct wlr_output *output;
|
||||
|
||||
struct {
|
||||
struct wl_signal motion; // struct wlr_pointer_motion_event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue