Skip to content

[libinput] Re-run touchscreen->output mapping when externally clearing output name

Nicolas Fella requested to merge work/nico/touchscreenempty into master

When setting a device's output name externally we assign the relevant output to the device

If we pass an empty name we set a null output, which causes a crash the next time the touchscreen is touched

Since passing an empty name semantically means 'Detect output automatically' rerun the mapping heuristic so we get a valid output

Merge request reports