mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 21:58:36 +00:00
Part of #5622. On a Wayland session winit 0.30 receives no input from a pen, so the app opens its window through XWayland when a pen is attached (#4967). When it did not, the log said nothing, and a report could not tell a pen that was not found from a session with no X display. - On a Wayland session the log now says why the window opens on Wayland: no pen in /proc/bus/input/devices, the device list could not be read, VECTORCRAFT_NATIVE_WAYLAND is set, or there is no X display (DISPLAY is unset, as in the Flatpak, which has --socket=fallback-x11). The pen-found line names the pen, and the missing-libraries warning no longer says Linux Display Server is X11 when a pen chose XWayland. - Under X11 the tablet reader logs the pens the X server lists (for example XWayland's "xwayland-tablet stylus:16"), again when that list changes, and the first event from each pen. - docs/development.md lists the new log lines, the Flatpak override that gives it an X display, and that GDK_BACKEND=x11 does not move the window to XWayland.