mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 00:59:29 +01:00
winit 0.30 doesn't bind the Wayland tablet protocol, so on compositors that don't emulate a pointer for the pen (KWin) the pen did nothing in the window. With a pen attached on a Wayland desktop, and Xwayland able to run the window, the app now opens on X11, where the pen works as the pointer. TEXTURECRAFT_NATIVE_WAYLAND=1 keeps native Wayland. Adapted from PhotoCraft. Fixes #816.