For at least a year have been requests for supporting middle button emulation on GNOME in its native back-end that is used under Wayland (and similar bug reports / feature requests longer). While libinput has the middle button click emulation code, it hasn’t been tied into Mutter. But now that support is merged.