mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-18 16:14:57 +00:00
* Linux: run on native Wayland again by default (revert #165)
winit 0.30.13 reported dropped files only on X11. The egui 0.37 migration
(#2543) pins storytold/winit, whose patch W15 reports file drops through
a per-seat Wayland data device (rust-windowing/winit#4729), so files
dragged from the file manager open on native Wayland too. The XWayland
default is no longer needed.
It also costs a startup crash: winit's X11 backend loads
libxkbcommon-x11, which the Linux packages don't depend on. Where it's
missing (a Fedora toolbox, minimal installs), GridCraft panics before the
window opens: "Library libxkbcommon-x11.so could not be loaded."
Checked on GNOME (Wayland, Fedora 44) with a build of main plus other
proposed changes, run with GRIDCRAFT_WAYLAND=1 (the path this revert
makes the default): an .xlsx and a .csv dragged from Files each open as a
workbook, and the app starts without libxkbcommon-x11 installed.
This reverts commit 6f0e43c21c.
Claude-Session: https://claude.ai/code/session_01Rvu8dWh26U2fsLQMSBQfH8