Thanks for feedback.
So this should be reported to Debian, which should adopt their build process by adding -DUSE_GDKBACKEND_X11=on to the CMake command.
This is also mentioned in the release notes:
Known issues
Hugin does not run native on Wayland because of a bug in the underlying wxWidgets library.
The source code contains a workaround which forces the usage of the XWayland emulation layer. This workaround has be activated during compiling by adding -DUSE_GDKBACKEND_X11=on to the CMake command line.
Thanks for feedback. D_X11=on to the CMake command.
So this should be reported to Debian, which should adopt their build process by adding -DUSE_GDKBACKEN
This is also mentioned in the release notes:
Known issues
Hugin does not run native on Wayland because of a bug in the underlying wxWidgets library. D_X11=on to the CMake command line.
The source code contains a workaround which forces the usage of the XWayland emulation layer. This workaround has be activated during compiling by adding -DUSE_GDKBACKEN