From 4ffeec3004607b76f73e504da220a1490c598348 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 04:57:37 +0900 Subject: hst/enablement: editor friendly enablement adaptor Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use. Signed-off-by: Ophestra --- internal/app/app_pd_linux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/app_pd_linux_test.go') diff --git a/internal/app/app_pd_linux_test.go b/internal/app/app_pd_linux_test.go index cc738ed6..109e8816 100644 --- a/internal/app/app_pd_linux_test.go +++ b/internal/app/app_pd_linux_test.go @@ -106,7 +106,7 @@ var testCasesPd = []sealTestCase{ }, Filter: true, }, - Enablements: system.EWayland | system.EDBus | system.EPulse, + Enablements: hst.NewEnablements(system.EWayland | system.EDBus | system.EPulse), }, state.ID{ 0xeb, 0xf0, 0x83, 0xd1, -- cgit v1.3.1