All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 2m20s
Test / Hakurei (push) Successful in 3m19s
Test / Hpkg (push) Successful in 4m12s
Test / Sandbox (race detector) (push) Successful in 4m31s
Test / Hakurei (race detector) (push) Successful in 5m12s
Test / Flake checks (push) Successful in 1m32s
Signed-off-by: Ophestra <cat@gensokyo.uk>
28 lines
969 B
Go
28 lines
969 B
Go
// Package wayland exposes the internal/wayland package.
|
|
//
|
|
// Deprecated: This package will be removed in 0.4.
|
|
package wayland
|
|
|
|
import (
|
|
_ "unsafe" // for go:linkname
|
|
|
|
"hakurei.app/internal/wayland"
|
|
)
|
|
|
|
// Conn represents a connection to the wayland display server.
|
|
type Conn = wayland.Conn
|
|
|
|
const (
|
|
// WaylandDisplay contains the name of the server socket
|
|
// (https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.23.1/src/wayland-client.c#L1147)
|
|
// which is concatenated with XDG_RUNTIME_DIR
|
|
// (https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.23.1/src/wayland-client.c#L1171)
|
|
// or used as-is if absolute
|
|
// (https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.23.1/src/wayland-client.c#L1176).
|
|
WaylandDisplay = wayland.Display
|
|
|
|
// FallbackName is used as the wayland socket name if WAYLAND_DISPLAY is unset
|
|
// (https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.23.1/src/wayland-client.c#L1149).
|
|
FallbackName = wayland.FallbackName
|
|
)
|