buffet / kiwmi

A fully programmable Wayland Compositor
Mozilla Public License 2.0
612 stars 22 forks source link

input: map pointer to output if possible #65

Closed ghost closed 2 years ago

ghost commented 2 years ago

This is needed in order for wlroots to interpret some values (mostly coords of absolute input events) correctly. It for example fixes how the pointer behaves with WLR_WL_OUTPUTS=2.

In order to also map the pointer/output pair when the pointer is created before the output, a list of pointers has to be managed, which wasn't needed until now.

ghost commented 2 years ago

Hmm, this doesn’t solve the issue in #64 that i thought it would fix. As noted by ifreund in that river issue, only the X11 & Wayland backends set the output_name. Damn.