From 3afca2bd5b58645ad503bc8ef6dfa4f05d2e01e0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Nov 2025 01:45:10 +0900 Subject: internal/wayland: expose WAYLAND_VERSION This might be useful troubleshooting information. Signed-off-by: Ophestra --- hst/hst.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hst/hst.go') diff --git a/hst/hst.go b/hst/hst.go index bdff19f8..f48b9f8d 100644 --- a/hst/hst.go +++ b/hst/hst.go @@ -54,6 +54,9 @@ type Paths struct { // Info holds basic system information collected from the implementation. type Info struct { + // WaylandVersion is the libwayland value of WAYLAND_VERSION. + WaylandVersion string `json:"WAYLAND_VERSION"` + // Version is a hardcoded version string. Version string `json:"version"` // User is the userid according to hsu. -- cgit v1.3.1