From 44ba7a5f02b7575a706a22aac53c8ac608d18f23 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 06:32:15 +0900 Subject: hst/enablement: move bits from system This is part of the hst API, should not be in the implementation package. Signed-off-by: Ophestra --- system/xhost.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/xhost.go') diff --git a/system/xhost.go b/system/xhost.go index e5ea2580..9a547f43 100644 --- a/system/xhost.go +++ b/system/xhost.go @@ -1,6 +1,7 @@ package system import ( + "hakurei.app/hst" "hakurei.app/system/internal/xcb" ) @@ -13,7 +14,7 @@ func (sys *I) ChangeHosts(username string) *I { // xhostOp implements [I.ChangeHosts]. type xhostOp string -func (x xhostOp) Type() Enablement { return EX11 } +func (x xhostOp) Type() hst.Enablement { return hst.EX11 } func (x xhostOp) apply(sys *I) error { sys.msg.Verbosef("inserting entry %s to X11", x) -- cgit v1.3.1