With wayland-protocols >= 1.24, we can get the output name from wl_output instead.
wl_output
Adnan Maolood referenced this ticket in commit 42ba08d.