Updating UE5 to work on Wayland. I got it working, sort of, mostly. Swapchain issues.

The Pull request.

https://github.com/EpicGames/UnrealEngine/pull/13764

I started by adding mouse wheel tilt support, which I’m not 100% sure if it works because I can barely get past the swapchain crashing. But it’s in there now, giving people mouse wheel tilt access. I then started modifying code for wayland support.
LinuxWindow.cpp was near a complete rewrite to get things loaded in the correct order so that the correct window type would be created. The previous code seemed to be more made up of multiple layers of patching and was a little hard to read through so that section got a rewrite as well.

I’m mainly posting this because, I’ve got the basics all there now. I’m just unable to figure out what’s causing the swapchain crashing. It seems to be related to rapid tooltip window creation and deletion but also randomly happens on other window types.