Our IME input system relied on passing around pointers to global variables. However this will not work as the Wayland input handling is multithreaded so the content of the global variable would change while the event loop were reading the data. Pull Request: https://projects.blender.org/blender/blender/pulls/138871