aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-17 01:45:10 +0900
committerOphestra <cat@gensokyo.uk>2025-11-17 01:46:01 +0900
commit3afca2bd5b58645ad503bc8ef6dfa4f05d2e01e0 (patch)
tree4aff66389b0405e5e53fd73c9d434ab839824f74 /hst
parentb73a789dfe2b7361d9fce7d6755d14e44f6d9d57 (diff)
internal/wayland: expose WAYLAND_VERSION
This might be useful troubleshooting information. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst')
-rw-r--r--hst/hst.go3
1 files changed, 3 insertions, 0 deletions
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.