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 --- internal/app/process.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/app/process.go') diff --git a/internal/app/process.go b/internal/app/process.go index 1b9c037b..1687c868 100644 --- a/internal/app/process.go +++ b/internal/app/process.go @@ -13,6 +13,7 @@ import ( "time" "hakurei.app/container" + "hakurei.app/hst" "hakurei.app/internal" "hakurei.app/internal/app/state" "hakurei.app/system" @@ -146,7 +147,7 @@ func (ms mainState) beforeExit(isFault bool) { } } - var rt system.Enablement + var rt hst.Enablement if states, err := c.Load(); err != nil { // it is impossible to continue from this point; // revert per-process state here to limit damage @@ -182,7 +183,7 @@ func (ms mainState) beforeExit(isFault bool) { } } - ec |= rt ^ (system.EWayland | system.EX11 | system.EDBus | system.EPulse) + ec |= rt ^ (hst.EWayland | hst.EX11 | hst.EDBus | hst.EPulse) if ms.IsVerbose() { if ec > 0 { ms.Verbose("reverting operations scope", system.TypeString(ec)) -- cgit v1.3.1