fix(wsl): unter WSL standardmäßig X11 statt Wayland verwenden

Unter WSLg trennt der Wayland-Compositor die Verbindung, kurz nachdem die App
ein Bild über Vulkan übergibt ("Connection reset by peer", ExitFailure). Über
X11 (Xwayland) läuft die App stabil – deshalb funktionierte sie als root, wo
der Wayland-Socket nicht gefunden wird und winit auf X11 ausweicht.

- WSL-Erkennung (WSL_DISTRO_NAME/WSL_INTEROP, /proc/sys/kernel/osrelease)
- Unter WSL mit gesetztem DISPLAY wird die Ereignisschleife mit X11 erzeugt
- INK_NOTES_DISPLAY=x11|wayland übersteuert die Wahl

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
haraldandClaude Opus 5.5 committed 2026-10-07 09:42:21 +02:00
1 parent cb11b1f828
commit 4a7627e461
3 files changed
+114 -2

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ pub mod export;
pub mod filter;
pub mod geometry;
pub mod history;
pub mod platform;
pub mod selection;
pub mod settings;
pub mod spline;